Skip to content

Commit

Permalink
fix: 🔧 use srcds for source
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 14, 2024
1 parent 793d04a commit 4d6a021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion engines/goldsrc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ then
rsync --chown=steam:steam /temp/config/* /opt/steam/hlds/$GAME
fi

echo -e "\e[32mStarting Half-Life Dedicated Server for $GAME...\e[0m"
echo -e "\e[32mStarting Half-Life GoldSrc Dedicated Server for $GAME...\e[0m"

./hlds_run "-game $GAME $@"
5 changes: 2 additions & 3 deletions engines/source/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env sh

# Set GAME to its value if defined, or 'valve' if not
GAME=${GAME:-valve}

if echo "$@" | grep -qv "+map"; then
Expand All @@ -17,6 +16,6 @@ then
rsync --chown=steam:steam /temp/config/* /opt/steam/hlds/$GAME
fi

echo -e "\e[32mStarting Half-Life Dedicated Server for $GAME...\e[0m"
echo -e "\e[32mStarting Half-Life Source Dedicated Server for $GAME...\e[0m"

./hlds_run "-game $GAME $@"
./srcds_run "-autoupdate -steam_dir /opt/steam -steamcmd_script /opt/steam/hlds.txt -game $GAME $@"

0 comments on commit 4d6a021

Please sign in to comment.