Removed unneeded var

This commit is contained in:
Areloch 2021-09-19 12:55:56 -05:00
parent 9a809dfb6b
commit ef5daae770

View file

@ -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;