From 1dfca55cc46e737d68e5ddd3ae212f18b6e386d0 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Thu, 21 Apr 2022 03:44:31 -0700 Subject: [PATCH] consistency --- scripts/killswitch.cmd | 8 ++++---- scripts/private_server_launch.cmd | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/killswitch.cmd b/scripts/killswitch.cmd index b5c5c33..2d460f5 100644 --- a/scripts/killswitch.cmd +++ b/scripts/killswitch.cmd @@ -14,10 +14,10 @@ if "%PROXY_IP%" EQU "localhost" ( :loop :: Check if the game is even running - @REM QPROCESS "%GAME_EXE_NAME%">NUL - @REM IF %ERRORLEVEL% NEQ 0 ( - @REM exit /b - @REM ) + @rem QPROCESS "%GAME_EXE_NAME%">NUL + @rem IF %ERRORLEVEL% NEQ 0 ( + @rem exit /b + @rem ) :: Check if the proxy server process is running :: https://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script diff --git a/scripts/private_server_launch.cmd b/scripts/private_server_launch.cmd index 1509e0d..9ab9374 100644 --- a/scripts/private_server_launch.cmd +++ b/scripts/private_server_launch.cmd @@ -8,11 +8,11 @@ echo Starting Proxy Server -SET ip=%1 -SET gamePath=%2 -SET gamePath=%gamePath:"=% -SET ORIGIN=%3 -SET ORIGIN=%ORIGIN:"=% +set ip=%1 +set gamePath=%2 +set gamePath=%gamePath:"=% +set ORIGIN=%3 +set ORIGIN=%ORIGIN:"=% set PROXY=true @rem Store original proxy settings