share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
changeset 12538 952afc3d2df2
parent 12527 b0492168f1ad
child 12571 903a30fb49e6
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Tue Sep 26 16:25:57 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Tue Sep 26 18:54:35 2017 +0200
@@ -490,8 +490,7 @@
 		PlaySound(sndVictory, hero.gear)
 		SendStat(siGameResult, loc("Congratulations, you won!"))
 		SendStat(siCustomAchievement, loc("To win the game you had to collect the 2 crates with no specific order."))
-		SendStat(siPlayerKills,'1',teamC.name)
-		SendStat(siPlayerKills,'0',teamB.name)
+		sendSimpleTeamRankings({teamC.name, teamA.name, teamB.name})
 		EndGame()
 	end
 end
@@ -502,7 +501,6 @@
 	SendStat(siCustomAchievement, loc("You can avoid some battles."))
 	SendStat(siCustomAchievement, loc("Use your ammo wisely."))
 	SendStat(siCustomAchievement, loc("Don't destroy the device crate!"))
-	SendStat(siPlayerKills,'1',teamB.name)
-	SendStat(siPlayerKills,'0',teamC.name)
+	sendSimpleTeamRankings({teamB.name, teamC.name, teamA.name})
 	EndGame()
 end