ID:1874567
 
(See the best response by Nadrew.)
Code:


Problem description:

params2list deleting duplicate params?


%2fobj%2fitem%2fSCOUTER&%2fobj%2fitem%2fTEST_RING&%2fobj%2fit em%2fTEST_RING

when using params2list it will only return one TEST_RING and not TWO is there any way to fix this?
Best response
This is how lists work, if there are two 100% identical entries only one will be used.

var/list/my_list = list("One","Two","Three","One")
// Ends up being list("One","Two","Three")


You'll need to make the identifier for the item unique.
In response to Nadrew
I think that only applies to entries that are associated to something. It's complicated.
In response to Kaiochao
Kaiochao wrote:
I think that only applies to entries that are associated to something. It's complicated.

I figured it out thanks Nadrew i gave them identifiers and it worked out.