ID:178404
 
same old problem i have my code that makes a corpse out of a skeleton but when i try the whole program freezes. Any suggestions?

client
Northwest()
if(usr.icon_state == "Necromancer")
var/obj/Corpse/O
for(O in oview(7))
usr.MP -= 5
new /mob/Ally/Skeleton(O.loc)
del(O)
else
return
I dont know what the problme is but it could have something to do with creating the new skeleton