--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Tue Aug 07 12:15:59 2018 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Tue Aug 07 13:04:02 2018 +0200
@@ -55,10 +55,13 @@
SendHealthStatsOff()
end
-function onGearResurrect(gear)
+function onGearResurrect(gear, vGear)
if gear == hog then
flawless = false
SetGearPosition(hog, 1485, 2001)
+ if vGear then
+ SetVisualGearValues(vGear, GetX(hog), GetY(hog))
+ end
AddCaption(loc("Your hedgehog has been revived!"))
end
end