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