generated from nhcarrigan/template
fix: turn off auto-boss/auto-quest on failure and surface status #46
Reference in New Issue
Block a user
Delete Branch "fix/failure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
setStatecallback immediately afterapplyTick.autoBoss: falseandautoQuest: falseare now part ofinitialGameState, so these fields persist through save/load cycles from the very first session β preventing a race window where the boss-route DB write could strip them before the first auto-save.toggleAutoBossclears bothautoBossLastResultandautoBossErroron each toggle so the panel always reflects the current session cleanly.Test plan
pnpm lintβ 0 errors, 0 warningspnpm buildβ all packages cleanpnpm testβ 100% coverage maintained across the boardCloses #40
β¨ This issue was created with help from Hikari~ πΈ