The indexes on restored games don't get updated
crankycyclops opened this issue · comments
Steps to reproduce:
- Create a game
- Dump the game
- Restart the server
- Restore the game
- Try stopping and starting the game and observe that a request for get:game:list with the is_running filter doesn't return the expected result.
I think this is because, on ordinary game creation, I assign event handlers for start and stop but don't do the same for restored games. I need to fix this and write unit tests that cover this case to make sure I don't get a regression on this in the future.