Commit 7ecb140
Route auto-apply pref read through YieldController overlay
The auto-apply read at orderSimultaneousSa was reading the host's local
FPref, so remote clients silently inherited the host's reorder-mode
setting — meaning Auto mode skipped the prompt for remote clients
regardless of their own setting.
Add UI_REORDER_SIMULTANEOUS_ABILITY_MODE to SYNCED_PREFS so the seed
snapshot ships the client's value at match start, and read via
getStringPref() (override wins, FModel fallback) instead of FModel
directly. Local-host PCH continues to fall through to FModel since
prefOverrides is only populated on remote-player proxies.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d9f6ec0 commit 7ecb140
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- forge-gui/src/main/java/forge
- gamemodes/match
- player
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
2027 | | - | |
| 2027 | + | |
2028 | 2028 | | |
2029 | 2029 | | |
2030 | 2030 | | |
| |||
0 commit comments