ASA cosmos: Don't send team rankings
authorWuzzy <Wuzzy2@mail.ru>
Fri, 31 May 2019 11:23:13 +0200
changeset 15087 9b2f52fbf874
parent 15086 3a561db2a71c
child 15088 c942f65c09a6
ASA cosmos: Don't send team rankings
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Fri May 31 11:10:01 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Fri May 31 11:23:13 2019 +0200
@@ -747,7 +747,6 @@
 	if GetCampaignVar("Won") == "true" and GetCampaignVar("Mission1Won") ~= "true" then
 		SendStat(siCustomAchievement, loc("Complete all main and side missions to complete the spacetrip mission."))
 	end
-	sendSimpleTeamRankings({teamC.name})
 	EndGame()
 end
 
@@ -757,14 +756,12 @@
 		SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel."))
 	end
 	SendStat(siCustomAchievement, loc("You have to be careful and must not die!"))
-	sendSimpleTeamRankings({teamC.name})
 	EndGame()
 end
 
 function sendStatsOnStuckOnMoon()
 	SendStat(siGameResult, loc("You have to go back to the moon!"))
 	SendStat(siCustomAchievement, loc("You have to complete the main mission on moon in order to travel to other planets."))
-	sendSimpleTeamRankings({teamC.name})
 	EndGame()
 end
 
@@ -774,7 +771,6 @@
 		SendStat(siGameResult, loc("You have violated PAotH regulations!"))
 		SendStat(siCustomAchievement, loc("You have triggered the secret Do-Not-Rope-to-the-Moon Defense System."))
 		SendStat(siCustomAchievement, loc("Use the flying saucer from the crate to fly to the moon."))
-		sendSimpleTeamRankings({teamC.name})
 		EndGame()
 	end
 end