share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua
branchios-revival
changeset 11248 94c0085ddac6
parent 10590 3c649bf438a3
child 12054 030464f34d47
equal deleted inserted replaced
11247:1e55e4c5dda0 11248:94c0085ddac6
   132 		-- ... check to see if the time we'd like to
   132 		-- ... check to see if the time we'd like to
   133 		-- wait has passed and then ...
   133 		-- wait has passed and then ...
   134 		if end_timer == 0 then
   134 		if end_timer == 0 then
   135 			-- Override the 'Draw' message with the appropriate message.
   135 			-- Override the 'Draw' message with the appropriate message.
   136 			if game_lost then
   136 			if game_lost then
   137 				AddCaption("Mission lost!", 0xffba00ff,capgrpGameState)
   137 				AddCaption(loc("Mission lost!"), 0xffba00ff,capgrpGameState)
   138 			else
   138 			else
   139 				AddCaption("Mission won!", 0xffba00ff,capgrpGameState)
   139 				AddCaption(loc("Mission won!"), 0xffba00ff,capgrpGameState)
   140 			end
   140 			end
   141 			-- Remove the team to end the game. Only do this once.
   141 			-- Remove the team to end the game. Only do this once.
   142 			if team_death == false then
   142 			if team_death == false then
   143 				team_death = true
   143 				team_death = true
   144 				DismissTeam(loc("Grenadiers"))
   144 				DismissTeam(loc("Grenadiers"))