fixes lightning

This commit is contained in:
Joe Schmoe
2018-12-12 22:40:45 +01:00
parent 85160cfb50
commit 3a7e06960a
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -443,6 +443,9 @@
return 0
var/obj/effect/proc_holder/spell/spell = target
if(spell.special_availability_check)
return 1
if(owner)
return spell.can_cast(owner)
return 0