ID:263894
 
Code:heh will this work?
heh im makeing a dbz game so i made a proc that makes trails appear but when it crash i tried for(var/obj/D in src.trails)
del D

but it just delete 1 trail


Problem description:

how can i make it deletes all the trails?
How about you post your code?
In response to Garthor
i deleted it but i used a a var called

obj/var/list/trails = list()

and i tried sum thing like this

loop
for(var/obj/A in src.trails)
del A
goto loop
del src o.o
y that didnt work?
In response to Pirata Inmortal
Because of your goto and your botched indentation. Remove the goto and look up for() in the reference.
In response to Garthor
NVM i fixed it mah self

but ty anyways