generated from nhcarrigan/template
4c3b9acfc5
Auto-boss was calling the boss API directly without first flushing pending game state to the server. This inlines a saveGame call (using refs, matching the existing auto-save pattern) before the challenge so the server sees up-to-date state, consistent with the manual challenge flow.