ID:263474
 
Code:
if(usr.wingquest == 2)
alert("...!")
alert("...!")
usr.align="Good"
alert("...!")
new /obj/items/Devils_Gate(usr)
alert("...!")
alert("...!")
usr.contents -= /obj/items/Gabriel_Wings
usr.wingquest = 3


Problem description: i get a runtime error that says cannot remove from contents.

for(var/obj/items/Gabriel_Wings/O in src.contents)
del(O)


Of course this will remove every single one of the wings.
In response to A.T.H.K
well no more error but it doesnt delete it from my contents
In response to Chase_Hammer
Well this is what you do, DON'T copy and paste from the forums.
In response to A.T.H.K
i got it
i changed src to usr.

thanks a lot