From eb52c161983325e74c7d7c5a2686238065532785 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Fri, 25 Sep 2020 15:30:38 -0500 Subject: [PATCH] Prohibit dashing while dead --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 27faca4..d6640f3 100644 --- a/main.lua +++ b/main.lua @@ -612,7 +612,7 @@ function Flier:physics_dead ( dt ) end function Flier:dash () - if ( self.dashTime > 0 or self.blocking == true ) then + if ( self.dashTime > 0 or self.blocking == true or self.living == false ) then return end self.dashTime = 1