Skip to content

Commit 30995c8

Browse files
G-Fourteenclaude
andcommitted
Fix achievements firing before first unpause in normal world
- Added _firstUnpauseInNormalWorld flag to require player unpause - Added _tutorialComplete flag to track tutorial state separately - Added _onGameUnpaused() handler listening to game-unpaused event - Achievements now ONLY enable after: 1. Tutorial completed/skipped 2. Player is in normal world 3. Player unpauses for the first time - All tracking functions (trackTrade, trackJourney, etc.) now blocked until first unpause in normal world - checkAchievements() and unlockAchievement() also blocked until unpause - Prevents achievements from registering before receiving first mission 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent bc169c9 commit 30995c8

1 file changed

Lines changed: 140 additions & 97 deletions

File tree

0 commit comments

Comments
 (0)