share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
changeset 13635 fe7d2bbf5f3f
parent 13567 0ff20bb15037
child 13692 a8b2a5e7e9db
--- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Tue Aug 07 12:15:59 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Tue Aug 07 13:04:02 2018 +0200
@@ -1110,13 +1110,14 @@
 
 end
 
-function onGearResurrect(gear)
-
-	AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false)
+function onGearResurrect(gear, vGear)
 
 	if gear == CurrentHedgehog then
 	       DisableTumbler(false)
 	end
+	if vGear then
+		DeleteVisualGear(vGear)
+	end
 
 end