From 3ded697061cc32f8287a7372fdaadd2ebfcb2e87 Mon Sep 17 00:00:00 2001 From: phyzical <5182053+phyzical@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:51:08 +0800 Subject: [PATCH] add a few more defaults on start --- install_docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_docker.sh b/install_docker.sh index 46345ed9..3dc49659 100755 --- a/install_docker.sh +++ b/install_docker.sh @@ -177,13 +177,13 @@ sudo -u $user ./game/bin/linuxsteamrt64/cs2 \ -tickrate "$TICKRATE" \ "$IP_ARGS" \ -port "$PORT" \ - +map de_dust2 \ + +map "${MAP-de_dust2}" \ -maxplayers "$MAXPLAYERS" \ -authkey "$API_KEY" \ +sv_setsteamaccount "$STEAM_ACCOUNT" \ +game_type "${GAME_TYPE-0}" \ +game_mode "${GAME_MODE-0}" \ - +mapgroup mg_active \ + +mapgroup "${MAP_GROUP-mg_active}" \ +sv_lan "$LAN" \ +sv_password "$SERVER_PASSWORD" \ +rcon_password "$RCON_PASSWORD" \