Forgot a few checks for leap

This commit is contained in:
d3athrow
2014-06-20 14:34:56 -04:00
committed by ZomgPonies
parent 9e0e080376
commit e4fb807a9d
+1 -1
View File
@@ -345,7 +345,7 @@
/obj/effect/proc_holder/spell/targeted/leap/cast(list/targets)
var/failure = 0
if (istype(usr.loc,/mob/))
if (istype(usr.loc,/mob/) || usr.lying || usr.stunned || usr.buckled || usr.stat)
usr << "\red You can't jump right now!"
return