share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua
changeset 12543 952afc3d2df2
parent 12519 d89dabfd07ce
child 12578 a778c1bb032e
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Tue Sep 26 16:25:57 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Tue Sep 26 18:54:35 2017 +0200
@@ -211,8 +211,7 @@
 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))
 	SendStat(siCustomAchievement, loc("You have to eliminate all the enemies."))
 	SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details."))
-	SendStat(siPlayerKills,'1',teamB.name)
-	SendStat(siPlayerKills,'0',teamA.name)
+	sendSimpleTeamRankings({teamB.name, teamC.name, teamA.name})
 	EndGame()
 end
 
@@ -231,7 +230,7 @@
 		end
 	end
 	SendStat(siCustomAchievement, loc("You will gain some extra ammo from the crates the next time you play the \"Getting to the device\" mission."))
-	SendStat(siPlayerKills,'1',teamA.name)
+	sendSimpleTeamRankings({teamA.name, teamB.name, teamC.name})
 	SaveCampaignVar("Mission10Won", "true")
 	checkAllMissionsCompleted()
 	EndGame()