share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
changeset 8679 a8bdcf7bec20
parent 8366 67c7ba2b82a3
child 10289 c3a77ff02a23
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Thu Mar 07 00:25:11 2013 +0400
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.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
@@ -140,11 +140,11 @@
 			-- ... end the game ...
 			EndGame()
 		else
-			-- ... or just lower the timer by 1.
-			end_timer = end_timer - 20
+			-- ... or just lower the timer by 20ms.
 			-- Reset the time left to stop the timer
 			TurnTimeLeft = time_goal
 		end
+        end_timer = end_timer - 20
 	end
 end