fishfolk / punchy

A 2.5D side-scroller beatemup, made in Bevy

Home Page:https://fishfolk.github.io/punchy/player/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Just went though the git history and found this was introduced by e49b2e8.

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.

🤯 😂