From d6e0ab34cea8462b3d75993d1f0b8b3efab1a755 Mon Sep 17 00:00:00 2001 From: autocommit Date: Sun, 17 May 2026 18:23:56 -0700 Subject: [PATCH] =?UTF-8?q?chore(player-api):=20=F0=9F=94=A7=20Update=20pl?= =?UTF-8?q?ayer=20API=20server=20script=20configuration=20for=20environmen?= =?UTF-8?q?t=20variables,=20startup=20commands,=20and=20execution=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- scripts/player-api-server.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/player-api-server.sh b/scripts/player-api-server.sh index 57f5aac8..36d5c8aa 100755 --- a/scripts/player-api-server.sh +++ b/scripts/player-api-server.sh @@ -42,7 +42,7 @@ PROJECT_DIR="$(dirname "$SCRIPT_DIR")" # flatpak runtime just for this harness is silly when native Godot 4 # works directly. Env-var passthrough is automatic for the native path. export CP_SEED CP_PLAYERS CP_PLAYER_SLOT CP_MAP_SIZE CP_MAP_TYPE \ - CP_OMNISCIENT CP_TIMEOUT_SEC CP_LOG_FILE + CP_OMNISCIENT CP_TIMEOUT_SEC CP_LOG_FILE CP_VICTORY_MODE case "$(uname -s)" in Darwin) @@ -67,6 +67,7 @@ case "$(uname -s)" in --env=CP_OMNISCIENT="$CP_OMNISCIENT" \ --env=CP_TIMEOUT_SEC="$CP_TIMEOUT_SEC" \ --env=CP_LOG_FILE="$CP_LOG_FILE" \ + --env=CP_VICTORY_MODE="${CP_VICTORY_MODE:-}" \ org.godotengine.Godot \ --path "$PROJECT_DIR/src/game" \ --headless \