diff --git a/tools/tgs4_scripts/PreCompile.bat b/tools/tgs4_scripts/PreCompile.bat index f9cb2fd94ef..fd7f861e69a 100644 --- a/tools/tgs4_scripts/PreCompile.bat +++ b/tools/tgs4_scripts/PreCompile.bat @@ -1,7 +1,7 @@ @echo off cd /D "%~dp0" set TG_BOOTSTRAP_CACHE=%cd% -IF NOT "%1" == "" ( +IF NOT %1 == "" ( rem TGS4: we are passed the game directory on the command line cd %1 ) ELSE IF EXIST "..\Game\B\tgstation.dmb" (