share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua
changeset 14469 ead8928a59f8
parent 14406 6c21bd8547dd
child 14487 d4aa64f51c9f
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Tue Dec 18 15:21:23 2018 +0100
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Tue Dec 18 18:16:31 2018 +0100
@@ -139,9 +139,11 @@
 			awardAchievement(loc("Naughty Ninja"))
 			DismissTeam(loc("Blue Team"))
 			gameWon = true
+			SaveMissionVar("Won", "true")
 		elseif gear == enemy then
 			HogSay(player, loc("Enjoy the swim..."), SAY_THINK)
 			gameWon = true
+			SaveMissionVar("Won", "true")
 			Retreat(3000)
 		end