From 8938620fd3dfceb34c1a427bd6e72c6d2b37f4ec Mon Sep 17 00:00:00 2001 From: killer653 Date: Sat, 28 Oct 2017 21:01:36 -0400 Subject: [PATCH] Adds some stop_flying procs. --- code/modules/multiz/movement.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/multiz/movement.dm b/code/modules/multiz/movement.dm index 05f77a9d08c..58f4efae610 100644 --- a/code/modules/multiz/movement.dm +++ b/code/modules/multiz/movement.dm @@ -54,6 +54,7 @@ if(H.wings_flying == 1) if(H.incapacitated()) to_chat(src, "You can't fly in your current state.") + 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, "You begin to fly upwards...") @@ -161,6 +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() //Just here to see if the person is KO'd, stunned, etc. If so, it'll move onto can_call. else return