Forgot H.

This commit is contained in:
killer653
2017-10-28 21:02:24 -04:00
parent 8938620fd3
commit 27c16465ac

View File

@@ -54,7 +54,7 @@
if(H.wings_flying == 1)
if(H.incapacitated())
to_chat(src, "<span class='notice'>You can't fly in your current state.</span>")
stop_flying() //Should already be done, but just in case.
H.stop_flying() //Should already be done, but just in case.
return 0
var/fly_time = max(7 SECONDS + (H.movement_delay() * 10), 1) //So it's not too useful for combat.
to_chat(src, "<span class='notice'>You begin to fly upwards...</span>")
@@ -162,7 +162,7 @@
var/mob/living/carbon/human/H = src
if(H.wings_flying == 1) //Some other checks are done in the wings_toggle proc
if(H.incapacitated())
stop_flying()
H.stop_flying()
//Just here to see if the person is KO'd, stunned, etc. If so, it'll move onto can_call.
else
return