We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286e7b1 commit 83523ddCopy full SHA for 83523dd
1 file changed
scripts/server.sh
@@ -17,11 +17,13 @@ if [ "${GAME_ID}" = "740" ]; then
17
;;
18
esac
19
SERVER_BINARY="${INSTANCE_SERVER_DIR}/srcds_linux"
20
+ GAME_ARGS="-game csgo"
21
else
22
SERVER_BINARY="${INSTANCE_SERVER_DIR}/game/bin/linuxsteamrt64/cs2"
23
+ GAME_ARGS=""
24
fi
25
-"${SERVER_BINARY}" -ip 0.0.0.0 -port ${SERVER_PORT} +tv_port ${TV_PORT} -dedicated -dev -usercon +rcon_password ${RCON_PASSWORD} ${EXTRA_GAME_PARAMS} &
26
+"${SERVER_BINARY}" ${GAME_ARGS} -ip 0.0.0.0 -port ${SERVER_PORT} +tv_port ${TV_PORT} -dedicated -dev -usercon +rcon_password ${RCON_PASSWORD} ${EXTRA_GAME_PARAMS} &
27
28
CS_PID=$!
29
0 commit comments