Racer: Fix hog taking damage skipping turn of next team
authorWuzzy <Wuzzy2@mail.ru>
Sun, 15 Sep 2019 15:06:01 +0200
changeset 15404 4b792051c159
parent 15403 09b63f9032f4
child 15405 06524f2e9a74
Racer: Fix hog taking damage skipping turn of next team
share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sun Sep 15 14:59:46 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sun Sep 15 15:06:01 2019 +0200
@@ -978,6 +978,14 @@
 	end
 end
 
+function onGearDamage(gear)
+
+        if gear == CurrentHedgehog then
+                DisableTumbler(false)
+        end
+
+end
+
 function onGearResurrect(gear, vGear)
 
         if gear == CurrentHedgehog then