share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 12292 faf1b93422ba
parent 12084 8f222872d432
child 12393 0eb1457f7b94
equal deleted inserted replaced
12291:b4dde7035fe2 12292:faf1b93422ba
   175                 end
   175                 end
   176                 hscore = hscore .. "|" .. string.format(loc("Team %d: "), i+1) .. tt
   176                 hscore = hscore .. "|" .. string.format(loc("Team %d: "), i+1) .. tt
   177             end
   177             end
   178             
   178             
   179             ShowMission(loc("TrophyRace"), loc("Race"), loc("You've reached the goal!| |Time: ") .. (ttime / 1000) .. " s" .. hscore, 0, 0)
   179             ShowMission(loc("TrophyRace"), loc("Race"), loc("You've reached the goal!| |Time: ") .. (ttime / 1000) .. " s" .. hscore, 0, 0)
   180             TurnTimeLeft = 0
   180             EndTurn(true)
   181         end
   181         end
   182     end
   182     end
   183 end
   183 end
   184 
   184 
   185 function onGearAdd(gear)
   185 function onGearAdd(gear)