share/hedgewars/Data/Missions/Training/Basic_Training_-_Grenade.lua
changeset 10290 42efccba0711
parent 10289 c3a77ff02a23
child 10590 3c649bf438a3
equal deleted inserted replaced
10289:c3a77ff02a23 10290:42efccba0711
   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 				ParseCommand("teamgone " .. "Grenadiers")
   144 				DismissTeam("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