generated from nhcarrigan/template
bug: prestige fires multiple times simultaneously when upgrade is purchased during prestige window #248
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Description
The prestige action fires multiple times in rapid succession when the player purchases an upgrade at the same moment the prestige prompt/notification is displayed. This results in:
Steps to Reproduce
Expected Behaviour
Prestige should fire exactly once per threshold crossing, regardless of other UI interactions happening at the same time.
Actual Behaviour
Prestige fires 2–5+ times in rapid succession. The Discord bot posts multiple announcements, the in-game notification fires repeatedly, the prestige count increments inconsistently, and runestone rewards are multiplied.
Notes
Likely a race condition — purchasing an upgrade triggers a state update that re-evaluates the prestige condition while a prestige is already in progress. A mutex/lock or in-progress flag around the prestige flow should prevent re-entry.
Reported By
ilenia (Discord) — 2026-04-07
✨ This issue was created with help from Hikari~ 🌸