share/hedgewars/Data/Maps/ClimbHome/map.lua
changeset 14485 ead8928a59f8
parent 13752 110d6c1e817f
child 14496 2113296b7a29
--- a/share/hedgewars/Data/Maps/ClimbHome/map.lua	Tue Dec 18 15:21:23 2018 +0100
+++ b/share/hedgewars/Data/Maps/ClimbHome/map.lua	Tue Dec 18 18:16:31 2018 +0100
@@ -428,6 +428,7 @@
             end
             -- FIXME: Hog is also in winning box if it just walks into the chair from the left, touching it. Intentional?
             if not YouWon and not YouLost and gearIsInBox(CurrentHedgehog, 1920, 252, 50, 50) then
+                SaveMissionVar("Won", "true")
                 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState)
                 ShowMission(loc("Climb Home"),
                             loc("Made it!"),