ACF2: Fix breakage when leaks kills Brainiac with 3 Deagle shots
authorWuzzy <Wuzzy2@mail.ru>
Tue, 21 May 2019 15:15:17 +0200
changeset 15026 62e3853fa2ed
parent 15025 fa597f6e301d
child 15027 9a7a5833fad2
ACF2: Fix breakage when leaks kills Brainiac with 3 Deagle shots
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua	Tue May 21 14:38:10 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua	Tue May 21 15:15:17 2019 +0200
@@ -1125,6 +1125,8 @@
     if GetHogClan(CurrentHedgehog) == GetTeamClan(weaklingsTeamName) and (not wave1EnemyTurn) then
       EndTurn(true)
       wave1EnemyTurn = true
+    else
+      SetWeapon(amNothing)
     end
   elseif stage == cyborgStage then
     if CurrentHedgehog ~= dense then