share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua
changeset 13745 2bb7141496a9
parent 13690 09ea1faf97ca
child 14493 7bb7e5e54f70
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Sun Sep 02 20:57:33 2018 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua	Sun Sep 02 21:26:44 2018 +0200
@@ -145,14 +145,14 @@
 	if CurrentHedgehog == hero.gear then
 		if firstTurn then
 			-- Unique game rule in this mission: First turn has more time
-			TurnTimeLeft = 25000
+			SetTurnTimeLeft(25000)
 			-- Generous ready time on first turn to give more time to read
-			ReadyTimeLeft = 35000
+			SetReadyTimeLeft(35000)
 			battleStarted = true
 			firstTurn = false
 		end
 		if lastWeaponUsed == amSkip then
-			TurnTimeLeft = TurnTime + timeLeft
+			SetTurnTimeLeft(TurnTime + timeLeft)
 		end
 		timeLeft = 0
 		heroTurns = heroTurns + 1