Fix SimpleMission failure to init GameFlags correctly
Also fixes broken gfInfAttack in The Great Escape
--- a/ChangeLog.txt Fri Jul 27 12:45:10 2018 -0400
+++ b/ChangeLog.txt Wed Aug 01 23:12:37 2018 +0200
@@ -8,6 +8,7 @@
* Prevent creation of schemes with same name as an existing scheme
* Fix teleport tooltip claiming it doesn't end turn in hog placing phase with inf. attack
* Fix /hta, /hsa and /hya commands not writing message in chat
+ * Fix broken infinite attack in mission The Great Escape
+ Add default controls for controllers (see README)
====================== 0.9.24.1 ====================
--- a/share/hedgewars/Data/Scripts/SimpleMission.lua Fri Jul 27 12:45:10 2018 -0400
+++ b/share/hedgewars/Data/Scripts/SimpleMission.lua Wed Aug 01 23:12:37 2018 +0200
@@ -638,7 +638,7 @@
Explosives = 0
for initVarName, initVarValue in pairs(params.initVars) do
- if initVarName == GameFlags then
+ if initVarName == "GameFlags" then
EnableGameFlags(initVarValue)
else
_G[initVarName] = initVarValue