--- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Tue Aug 07 12:15:59 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Tue Aug 07 13:04:02 2018 +0200
@@ -1848,10 +1848,12 @@
end
-function onGearResurrect(gear)
+function onGearResurrect(gear, vGear)
if GetGearType(gear) == gtHedgehog then
- AddVisualGear(GetX(gear), GetY(gear), vgtExplosion, 0, false)
FindRespawner(gear)
+ if vGear then
+ SetVisualGearValues(vGear, GetX(gear), GetY(gear))
+ end
end
end