75f306f6504abe668d04b3da9f921d658312c2ee
The Restart button on the Win dialog called Simulation::reset() directly, while the escape-menu and Game Over restarts enqueue a ResetCommand. That bypassed the command chokepoint every sim mutation is supposed to flow through (docs/replay_design.md), so a post-win restart was never recorded into the replay stream, and it had UI code calling a sim mutator directly. Mirror the Game Over path instead. The manual resetForNewGame() call goes away with it: GameWorldView::onFrame already resets the view when it drains a Reset command. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GH8ZMRY3vhxxXcaUxBqxkk
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.2%
C
0.6%