--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/enemy.lua Tue May 03 22:26:39 2016 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/enemy.lua Tue May 03 22:56:26 2016 +0200
@@ -403,6 +403,7 @@
if progress and progress<9 then
SaveCampaignVar("Progress", "9")
end
+ SaveCampaignVar("Won", "true")
DismissTeam(loc("011101001"))
TurnTimeLeft = 0
end
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua Tue May 03 22:26:39 2016 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua Tue May 03 22:56:26 2016 +0200
@@ -151,6 +151,7 @@
function heroWin(gear)
saveCompletedStatus(7)
+ SaveCampaignVar("Won", "true")
SendStat(siGameResult, loc("Congratulations, you have saved Hogera!"))
SendStat(siCustomAchievement, loc("Hogera is safe!"))
SendStat(siPlayerKills,'1',teamA.name)