share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15404 4b792051c159
parent 15403 09b63f9032f4
child 15405 06524f2e9a74
--- 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