share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
changeset 13742 2bb7141496a9
parent 13736 c6154fcb9420
child 13752 110d6c1e817f
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Sun Sep 02 20:57:33 2018 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Sun Sep 02 21:26:44 2018 +0200
@@ -213,9 +213,9 @@
 	if CurrentHedgehog ~= hero.gear and not heroIsInBattle then
 		AnimSwitchHog(hero.gear)
 		getReady(hero.gear)
-		TurnTimeLeft = -1
+		SetTurnTimeLeft(cMaxTurnTime)
 	elseif CurrentHedgehog == hero.gear and not heroIsInBattle then
-		TurnTimeLeft = -1
+		SetTurnTimeLeft(cMaxTurnTime)
 	elseif (CurrentHedgehog == smuggler2.gear or CurrentHedgehog == smuggler3.gear) and ongoingBattle == 1 then
 		AnimSwitchHog(smuggler1.gear)
 		getReady(smuggler1.gear)