feat(settings-manager): ✨ Add AI arena mode settings keys and validation logic for game engine compatibility
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
662057c69d
commit
6d1cfa725c
1 changed files with 8 additions and 0 deletions
|
|
@ -175,6 +175,14 @@ func _apply_setting(section: String, key: String, value: Variant) -> void:
|
|||
func _apply_display(key: String, value: Variant) -> void:
|
||||
match key:
|
||||
"window_mode":
|
||||
# Arena mode runs in multiple tiled windows positioned by the
|
||||
# orchestrator via --windowed / --resolution / --position. If
|
||||
# we applied the saved window_mode (default: exclusive
|
||||
# fullscreen) here, we'd stomp all three CLI flags and every
|
||||
# arena match would be a fullscreen window on top of the
|
||||
# others. Leave the OS window state alone in arena mode.
|
||||
if EnvConfig.get_bool("AI_ARENA"):
|
||||
return
|
||||
var mode_idx: int = int(value)
|
||||
match mode_idx:
|
||||
0:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue