share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua
branchspacecampaign
changeset 9578 16139270448f
parent 9574 da3d39667881
child 9582 bf314b2258b3
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua	Mon Aug 26 02:08:11 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua	Mon Aug 26 06:13:36 2013 +0300
@@ -17,6 +17,7 @@
 
 HedgewarsScriptLoad("/Scripts/Locale.lua")
 HedgewarsScriptLoad("/Scripts/Animate.lua")
+HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
 
 ----------------- VARIABLES --------------------
 -- globals
@@ -364,6 +365,7 @@
 	AnimCaption(hero.gear, loc("Congrats! You made them run away!"), 6000)
 	AnimWait(hero.gear,5000)	
 	
+	saveCompletedStatus(1)
 	SendStat('siGameResult', loc("Hog Solo win, conrgatulations!")) --1
 	SendStat('siCustomAchievement', loc("Eliminated the professor Hogevil")) --11
 	SendStat('siCustomAchievement', loc("Drove the minions away")) --11
@@ -380,6 +382,7 @@
 	AnimCaption(hero.gear, loc("Congrats! You won!"), 6000)
 	AnimWait(hero.gear,5000)	
 	
+	saveCompletedStatus(1)
 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
 	SendStat('siCustomAchievement', loc("Eliminated the evil minions")) --11
 	SendStat('siCustomAchievement', loc("Drove the professor away")) --11