generated from nhcarrigan/template
fix: auto-quest continues after quest failure #92
Reference in New Issue
Block a user
Delete Branch "fix/auto-quest-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
Fixes #87. When a quest failed, the tick loop detected the failure and turned auto-quest off so the "player could reassess". This meant every quest failure required the player to manually re-enable the toggle.
Root Cause
The tick applies quest failure by resetting the quest to
status: "available"withlastFailedAtset. Auto-quest picks upavailablequests automatically — so turning off auto-quest on failure was entirely unnecessary, it just broke the loop.Fix
Remove the auto-quest-off-on-failure block entirely. The quest returns to
availableimmediately after failure, so auto-quest naturally retries on the next tick. Players can still disable it manually if they want to stop.✨ This PR was created with help from Hikari~ 🌸