diff --git a/scripts/private_server_launch.cmd b/scripts/private_server_launch.cmd index 7641cb9..787e5a0 100644 --- a/scripts/private_server_launch.cmd +++ b/scripts/private_server_launch.cmd @@ -82,7 +82,9 @@ echo Done, see you next time :: Just in case the user has corutils installed, use this hacky timeout instead of the timeout command ping 127.0.0.1 -n 2 > nul - -taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script" || taskkill /f /fi "WINDOWTITLE eq PS Launcher Script" + +:: Attempt to kill either +taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script" +taskkill /f /fi "WINDOWTITLE eq PS Launcher Script" exit /b \ No newline at end of file