--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua Sun May 26 20:45:08 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua Sun May 26 20:51:42 2019 +0200
@@ -385,7 +385,11 @@
function AfterKillAnim()
if not cyborgsKilledBeforeCrates then
PutWeaponCrates()
- SetTurnTimeLeft(timeAfterCratesTaken)
+ if timeAfterCratesTaken then
+ SetTurnTimeLeft(timeAfterCratesTaken)
+ else
+ SetTurnTimeLeft(TurnTime)
+ end
SetReadyTimeLeft(Ready)
AddEvent(CheckCyborgsDead, {}, DoCyborgsDead, {}, 0)
ShowMission(loc("Dragon's Lair"), loc("The Slaughter"), loc("Kill the aliens!").."|"..loc("Mines time: 5 seconds"), 1, 2000)