share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua
changeset 8679 a8bdcf7bec20
parent 8043 da083f8d95e6
child 10289 c3a77ff02a23
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua	Thu Mar 07 00:25:11 2013 +0400
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua	Wed Mar 06 16:00:48 2013 -0500
@@ -22,7 +22,7 @@
 -- This variable controls how many milliseconds/ticks we'd
 -- like to wait before we end the round once all targets
 -- have been destroyed.
-local end_timer = 5000 -- 5000 ms = 5 s
+local end_timer = 1000 -- 1000 ms = 1 s
 -- This variable is set to true if the game is lost (i.e.
 -- time runs out).
 local game_lost = false
@@ -145,10 +145,10 @@
 			EndGame()
 		else
 			-- ... or just lower the timer by 1.
-			end_timer = end_timer - 20
 			-- Reset the time left to stop the timer
 			TurnTimeLeft = time_goal
 		end
+        end_timer = end_timer - 20
 	end
 end