Exiting Pause menu behaves unexpectedly
odecay opened this issue · comments
Description
Exiting pause menu returns the player to the main menu, abandoning in progress gameplay.
This is not the desired behavior either for gameplay or debugging purposes. Ideally for gameplay exiting pause state would return the players to in progress session.
For debugging it is useful to not have the current world despawned while the pause is taking place, so that entities and components can be inspected using bevy-inspector-egui.
To Reproduce
Pause the game, exit pause menu by pressing ESC key or Continue menu button.
I'll fix this one, I think I have an idea for a clean solution.
Just went though the git history and found this was introduced by e49b2e8.
🤯 😂