share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua
changeset 12544 19192a3cb674
parent 12543 952afc3d2df2
child 12586 a85de735f87c
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua	Tue Sep 26 18:54:35 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua	Tue Sep 26 19:13:26 2017 +0200
@@ -149,7 +149,7 @@
 	SendStat(siCustomAchievement, loc("You have to destroy all the explosives without dying!"))
 	SendStat(siCustomAchievement, loc("Red areas are indestructible."))
 	SendStat(siCustomAchievement, loc("Green areas are portal-proof and repel portals."))
-	SendStat(siPlayerKills,'0',teamA.name)
+	sendSimpleTeamRankings({teamA.name})
 	EndGame()
 end
 
@@ -159,6 +159,6 @@
 	checkAllMissionsCompleted()
 	SendStat(siGameResult, loc("Congratulations, you have saved Hogera!"))
 	SendStat(siCustomAchievement, loc("Hogera is safe!"))
-	SendStat(siPlayerKills,'0',teamA.name)
+	sendSimpleTeamRankings({teamA.name})
 	EndGame()
 end