Files
moonwell-client-core/docs
Sam Sung 2d367f4190 Entering the world clears the battleground winner and scores (#2394)
After a battleground ended and the player left, the VM kept the match's winner and scores. The board was reset only on a disconnect, so `WorldStateFrame`'s end-of-match panel could come back outside the battleground.

1.12.1's world-enter cascade calls `0x4a9db0` (`0x4909fb`), which zeroes the score caches: the request stamp `0xb6ebc8`, the ended flag and the winner (`0xb6ebcc`, `0xb6ebd0`), and the row and filtered counts (`0xb6ebc0`, `0xb6ebc4`).

Every world enter now clears the board and its request stamp, and the feed pushes the empty board to the VM. As in the reference, no event fires.

Test: after a finished match, a world enter leaves `GetBattlefieldWinner()` nil and zero scores, and the next score request is not throttled.

Fixes #2376

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 13:02:27 +07:00
..