share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua
changeset 12539 19192a3cb674
parent 12538 952afc3d2df2
child 12563 8a9919381629
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua	Tue Sep 26 18:54:35 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua	Tue Sep 26 19:13:26 2017 +0200
@@ -215,7 +215,7 @@
 	SendStat(siCustomAchievement, loc("You have destroyed all the targets."))
 	SendStat(siCustomAchievement, loc("You are indeed the best PAotH pilot."))
 	SendStat(siCustomAchievement, loc("Next time you play \"Searching in the dust\" you'll have an RC plane available."))
-	SendStat(siPlayerKills,'0',teamA.name)
+	sendSimpleTeamRankings({teamA.name})
 	SaveCampaignVar("Mission12Won", "true")
 	checkAllMissionsCompleted()
 	EndGame()
@@ -226,6 +226,6 @@
 	SendStat(siCustomAchievement, loc("You have to destroy all the targets."))
 	SendStat(siCustomAchievement, loc("You will fail if you run out of ammo and there are still targets available."))
 	SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details."))
-	SendStat(siPlayerKills,'0',teamA.name)
+	sendSimpleTeamRankings({teamA.name})
 	EndGame()
 end