share/hedgewars/Data/Scripts/SimpleMission.lua
branch0.9.24
changeset 13588 c3d8469cc68e
parent 13100 61076bb26cb3
--- 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