diff -r b3b55b03d499 -r 2bb7141496a9 share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua Sun Sep 02 20:57:33 2018 +0200 +++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua Sun Sep 02 21:26:44 2018 +0200 @@ -546,7 +546,7 @@ function DoCratesColled() RemoveEventFunc(CheckTimesUp) - TurnTimeLeft = -1 + SetTurnTimeLeft(cMaxTurnTime) AddCaption(loc("As the challenge was completed, Leaks A Lot set foot on the ground...")) end @@ -573,7 +573,7 @@ challengeFailed = true deleteCrate = true DeleteGear(crates[1]) - TurnTimeLeft = -1 + SetTurnTimeLeft(cMaxTurnTime) AddCaption(loc("And so happened that Leaks A Lot failed to complete the challenge! He landed, pressured by shame ...")) AddEvent(CheckChallengeFailed, {}, DoChallengeFailed, {}, 0) end @@ -658,7 +658,7 @@ function StartChallenge(time) cratesCollected = 0 PutCrate(1) - TurnTimeLeft = time + SetTurnTimeLeft(time) ShowMission(loc("First Blood"), loc("The Crate Frenzy"), loc("Collect the crates within the time limit!|If you fail, you'll have to try again."), 1, 5000) end @@ -684,11 +684,11 @@ end function SetTime(time) - TurnTimeLeft = time + SetTurnTimeLeft(time) end function ResetTurnTime() - TurnTimeLeft = tTime + SetTurnTimeLeft(tTime) tTime = -1 end @@ -751,7 +751,7 @@ function onGameStart() progress = tonumber(GetCampaignVar("Progress")) - TurnTimeLeft = -1 + SetTurnTimeLeft(cMaxTurnTime) FollowGear(youngh) ShowMission(loc("A Classic Fairytale"), loc("First Blood"), loc("Finish your training|Hint: Animations can be skipped with the [Precise] key."), -amSkip, 0) HideHog(cannibal) @@ -846,7 +846,7 @@ end SwitchHog(youngh) FollowGear(youngh) - TurnTimeLeft = -1 + SetTurnTimeLeft(cMaxTurnTime) end function onGearDamage(gear, damage)