From 689133d05d542b42ecb02b5710374092fb69c51b Mon Sep 17 00:00:00 2001 From: Hikari Date: Thu, 26 Mar 2026 10:24:53 -0700 Subject: [PATCH] fix: preserve autoAdventurer setting across prestige The auto-buy adventurers toggle was silently reset to false on every prestige because it was not included in the list of automation preferences carried forward into the fresh state. This mirrors the existing handling for autoBoss and autoQuest. Closes #156 --- apps/api/src/services/prestige.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/src/services/prestige.ts b/apps/api/src/services/prestige.ts index dad8ce3..f20c8c1 100644 --- a/apps/api/src/services/prestige.ts +++ b/apps/api/src/services/prestige.ts @@ -263,7 +263,8 @@ const buildPostPrestigeState = ( * Preserve automation preferences across prestige — the player explicitly * opted into these settings and would not expect them to silently reset. */ - autoBoss: currentState.autoBoss ?? false, + autoAdventurer: currentState.autoAdventurer ?? false, + autoBoss: currentState.autoBoss ?? false, autoQuest: currentState.autoQuest ?? false, // Boss statuses reset for gameplay, but first-kill claimed flag is preserved