Skip to content

Commit

Permalink
use -rcon instead of -rconport
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef authored Feb 27, 2024
1 parent dfe39ad commit 6178fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ if [ "${MULTITHREADING,,}" = true ]; then
STARTCOMMAND+=("-useperfthreads" "-NoAsyncLoadingThread" "-UseMultithreadForDS")
fi

if [ "${RCON_ENABLED,,}" = true ] && [ -n "${RCON_PORT}" ]; then
STARTCOMMAND+=("-rconport=${RCON_PORT}")
if [ "${RCON_ENABLED,,}" = true ]; then
STARTCOMMAND+=("-rcon)
fi
if [ "${DISABLE_GENERATE_SETTINGS,,}" = true ]; then
Expand Down

0 comments on commit 6178fb0

Please sign in to comment.