share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua
changeset 10590 3c649bf438a3
parent 10290 42efccba0711
child 11244 94c0085ddac6
equal deleted inserted replaced
10589:98ea597e5cd9 10590:3c649bf438a3
   139 				AddCaption("Mission won!", 0xffba00ff,capgrpGameState)
   139 				AddCaption("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("Grenadiers")
   144 				DismissTeam(loc("Grenadiers"))
   145 			end
   145 			end
   146 		else
   146 		else
   147 			-- ... or just lower the timer by 1.
   147 			-- ... or just lower the timer by 1.
   148 			end_timer = end_timer - 20
   148 			end_timer = end_timer - 20
   149 			-- Reset the time left to stop the timer
   149 			-- Reset the time left to stop the timer