share/hedgewars/Data/Scripts/SimpleMission.lua
changeset 13587 818134c33f54
parent 13583 141cdfe0f3ca
child 13643 690cc84e9fd6
--- a/share/hedgewars/Data/Scripts/SimpleMission.lua	Wed Aug 01 21:30:33 2018 +0200
+++ b/share/hedgewars/Data/Scripts/SimpleMission.lua	Wed Aug 01 23:12:37 2018 +0200
@@ -627,7 +627,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