Prohibit dashing while dead

This commit is contained in:
Jaidyn Ann 2020-09-25 15:30:38 -05:00
parent d58bc2a71e
commit eb52c16198

View File

@ -612,7 +612,7 @@ function Flier:physics_dead ( dt )
end end
function Flier:dash () 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 return
end end
self.dashTime = 1 self.dashTime = 1