kipplesunderscore / warehoused

1 stars 0 forks source link

Hitting Escape whilst in Settings doesn't close Settings #15

Closed schneediener closed 2 years ago

schneediener commented 2 years ago

If I hit ESC in game, and then open settings, then hit Escape rather than pressing "back", I go back into the game successfully, no issue.

But if I hit ESC a second time, I go straight back into Settings.

When ESC is hit from Settings, either nothing should happen, or it should exit out fully so when ESC is hit a second time, the pause menu appears.

this is a simple change to SettingsMenu code to hide on ESC like the Pause Menu