Fix CMD_ARGS assignment for map_rotate

This commit is contained in:
Amos 2025-09-27 18:05:13 +01:00 committed by GitHub
parent 79463b388f
commit 9a9c77d6ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,12 +81,12 @@ if [[ -n "${IW4X_NET_LOG_IP}" ]]; then
CMD_ARGS+=(+set g_log_add "${IW4X_NET_LOG_IP}")
fi
CMD_ARGS+=(+map_rotate)
if [[ -n "${IW4X_EXTRA_ARGS}" ]]; then
CMD_ARGS+=(${IW4X_EXTRA_ARGS})
fi
CMD_ARGS+=(+map_rotate)
# --- Step 5: Launch the iw4x Server ---
echo "Starting ${IW4X_GAME} Server: ${IW4X_SERVER_NAME}"
echo "EXECUTING: wine iw4x.exe ${CMD_ARGS[@]}"