AlexKnauth / hollowknight-autosplit-wasm

A cross-platform autosplitter for Hollow Knight that supports Windows, Mac, and Linux
MIT License
4 stars 0 forks source link

State gets lost when closing and re-opening the game #75

Closed AlexKnauth closed 2 months ago

AlexKnauth commented 2 months ago

During a rando race, closed the game to install a mod that I had forgotten, re-opened the game, and loaded back into the rando file. Before I loaded back in, the timer state was Running, but the auto-splitter's state was waiting to start. When I loaded back in, the start split RandoWake triggered (separate issue https://github.com/AlexKnauth/hollowknight-autosplit-wasm/issues/76), causing the auto-splitter to reset and start the timer over again.

The state should be moved outside the process-until-closes block so that it can be preserved through a game re-start.