--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua Tue Aug 07 12:15:59 2018 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua Tue Aug 07 13:04:02 2018 +0200
@@ -549,10 +549,13 @@
end
end
-function onGearResurrect(Gear)
+function onGearResurrect(Gear, VGear)
if Gear == Player then
AddCaption(loc("Oh no! You have died. Try again!"), 0xFFFFFFFF, capgrpMessage2)
ResetCurrentTarget()
+ if VGear then
+ SetVisualGearValues(VGear, GetX(Gear), GetY(Gear))
+ end
end
end