fix #208: keep combat bar hidden in peace mode
Treat combat-window visibility as gameplay-state owned so character layout restoration cannot replay a stale visible bit. Reset combat state to NonCombat at character-session entry, matching retail ClientCombatSystem::Begin. Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
parent
00fe993f6f
commit
8e9c538519
8 changed files with 109 additions and 14 deletions
|
|
@ -147,7 +147,8 @@ public sealed class RetailUiRuntime : IDisposable
|
|||
Host.WindowManager,
|
||||
persistence.Store,
|
||||
persistence.CharacterKey,
|
||||
persistence.ScreenSize);
|
||||
persistence.ScreenSize,
|
||||
stateManagedVisibilityWindows: [WindowNames.Combat]);
|
||||
}
|
||||
|
||||
if (bindings.Probe.Enabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue