fix(ai): forward CP_LEARNER_CLAN to flatpak Godot in the player-api harness
Some checks are pending
ci / regression gate (push) Waiting to run
Some checks are pending
ci / regression gate (push) Waiting to run
The clan-conditioning env var was set by the env but not in player-api-server.sh's export list or the Linux flatpak --env passthrough, so it was silently dropped on the fleet (only the native macOS path inherits the full env). Add CP_LEARNER_CLAN to both. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
57b326b670
commit
a9926322c9
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ source "${SCRIPT_DIR}/run/heavy-prefix.sh"
|
|||
# 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_VICTORY_MODE \
|
||||
CP_PLAYER_CONTROLLERS CP_PLAYER_SLOTS \
|
||||
CP_PLAYER_CONTROLLERS CP_PLAYER_SLOTS CP_LEARNER_CLAN \
|
||||
MC_DATA_ROOT MC_LEARNED_POLICY_PATH
|
||||
|
||||
case "$(uname -s)" in
|
||||
|
|
@ -80,6 +80,7 @@ case "$(uname -s)" in
|
|||
--env=CP_VICTORY_MODE="${CP_VICTORY_MODE:-}"
|
||||
--env=CP_PLAYER_CONTROLLERS="${CP_PLAYER_CONTROLLERS:-}"
|
||||
--env=CP_PLAYER_SLOTS="${CP_PLAYER_SLOTS:-}"
|
||||
--env=CP_LEARNER_CLAN="${CP_LEARNER_CLAN:-}"
|
||||
--env=MC_DATA_ROOT="${MC_DATA_ROOT:-}"
|
||||
--env=MC_LEARNED_POLICY_PATH="${MC_LEARNED_POLICY_PATH:-}"
|
||||
org.godotengine.Godot
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue