--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua Thu Sep 28 02:00:40 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua Thu Sep 28 02:42:10 2017 +0200
@@ -539,12 +539,14 @@
end
function DoLeaderDead()
- leaderDead = true
- SetGearMessage(CurrentHedgehog, 0)
- SetupLeaderDeadAnim()
- AddAnim(leaderDeadAnim)
- AddFunction({func = AfterLeaderDeadAnim, args = {}})
- RemoveEventFunc(CheckTurnsOver)
+ if enemyFled ~= "1" then
+ leaderDead = true
+ SetGearMessage(CurrentHedgehog, 0)
+ SetupLeaderDeadAnim()
+ AddAnim(leaderDeadAnim)
+ AddFunction({func = AfterLeaderDeadAnim, args = {}})
+ RemoveEventFunc(CheckTurnsOver)
+ end
end
function CheckGearsDead(gearList)