share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
changeset 14506 4e7fbbdca061
parent 14493 7bb7e5e54f70
child 14507 abe0a561005e
equal deleted inserted replaced
14505:dbf704b00762 14506:4e7fbbdca061
   743 	EndGame()
   743 	EndGame()
   744 end
   744 end
   745 
   745 
   746 function sendStatsOnRetry()
   746 function sendStatsOnRetry()
   747 	SendStat(siGameResult, loc("You have to travel again"))
   747 	SendStat(siGameResult, loc("You have to travel again"))
   748 	SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel."))
   748 	if checkPointReached < 4 then
       
   749 		SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel."))
       
   750 	end
   749 	SendStat(siCustomAchievement, loc("You have to be careful and must not die!"))
   751 	SendStat(siCustomAchievement, loc("You have to be careful and must not die!"))
   750 	sendSimpleTeamRankings({teamC.name})
   752 	sendSimpleTeamRankings({teamC.name})
   751 	EndGame()
   753 	EndGame()
   752 end
   754 end
   753 
   755