--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/united.lua Fri Mar 09 18:03:59 2018 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/united.lua Fri Mar 09 19:05:59 2018 +0100
@@ -26,9 +26,9 @@
HedgewarsScriptLoad("/Scripts/Animate.lua")
-----------------------------Constants---------------------------------
-choiceAccept = 1
-choiceRefuse = 2
-choiceAttack = 3
+choiceAccepted = 1
+choiceRefused = 2
+choiceAttacked = 3
leaksPos = {2067, 509}
densePos = {1882, 503}
@@ -289,7 +289,7 @@
if m2DenseDead == 1 then
denseDead = true
end
- m2Choice = tonumber(GetCampaignVar("M2Choice"))
+ m2Choice = tonumber(GetCampaignVar("M2Choice")) or choiceRefused
end
function SetupPlace()