From ef5daae77045588f054152bd325c9f2ee44e8af7 Mon Sep 17 00:00:00 2001 From: Areloch Date: Sun, 19 Sep 2021 12:55:56 -0500 Subject: [PATCH] Removed unneeded var --- .../game/tools/worldEditor/scripts/menuHandlers.ed.tscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript b/Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript index 4679dba92..a2ea3b015 100644 --- a/Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript +++ b/Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript @@ -318,7 +318,7 @@ function EditorSaveMission() %terrFile = %file; } - if (!isWriteableFileName(%terrFile) && %bypass $= "") + if (!isWriteableFileName(%terrFile)) { if (MessageBox("Error", "Terrain file \""@ %terrainObject.terrainFile @ "\" is read-only. Continue?", "Ok", "Stop") == $MROk) continue;