Mission 2: fixed ammo menu bug
authorbelphegorr <szabibibi@gmail.com>
Sun, 26 Aug 2012 01:21:59 +0300
changeset 7522 21acf357d7fd
parent 7520 dd0b68bbe456
child 7524 a98ce9191832
Mission 2: fixed ammo menu bug
share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/shadow.lua
--- a/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/shadow.lua	Sun Aug 26 01:19:43 2012 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/shadow.lua	Sun Aug 26 01:21:59 2012 +0300
@@ -153,7 +153,6 @@
 
 function AfterStronglingsAnim()
   stage = cyborgStage
-  TurnTimeLeft = 0
   ShowMission(loc("The Shadow Falls"), loc("The Dilemma"), loc("Choose your side! If you want to join the strange man, walk up to him.|Otherwise, walk away from him. If you decide to att...nevermind..."), 1, 8000)
   AddEvent(CheckChoice, {}, DoChoice, {}, 0)
   AddEvent(CheckRefuse, {}, DoRefuse, {}, 0)
@@ -163,6 +162,7 @@
   AddAmmo(dense, amSkip, 0)
   SetHealth(SpawnHealthCrate(2557, 1030), 50)
   SetHealth(SpawnHealthCrate(3599, 1009), 50)
+  TurnTimeLeft = 0
 end
 
 function SkipStronglingsAnim()
@@ -639,7 +639,6 @@
 end
 
 function DoWeaklingsKilled()
-  TurnTimeLeft = 0
   SetGearMessage(CurrentHedgehog, 0)
   AddAnim(stronglingsAnim)
   AddFunction({func = AfterStronglingsAnim, args = {}})