Fixes runtimes

YES YES!
This commit is contained in:
DZD
2015-05-03 16:58:32 -04:00
parent 139f928a2e
commit 7e99d67587
5 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -988,7 +988,7 @@ var/list/slot_equipment_priority = list( \
if(mind && mind.changeling)
add_stings_to_statpanel(mind.changeling.purchasedpowers)
if(spell_list && spell_list.len) //YAY RUNTIMES "runtime error: undefined variable /obj/effect/proc_holder/spell/wizard/targeted/enthrall/var/len" BYOND is fucking up references for some reason. This one breaks admin-made shadowlings.
if(spell_list && spell_list.len)
for(var/obj/effect/proc_holder/spell/wizard/S in spell_list)
switch(S.charge_type)
if("recharge")