MadDeCoDeR / Classic-RBDOOM-3-BFG

DOOM: BFA (Big Freaking Anniversary) Edition (former Classic RBDoom 3 BFG) is a source port based on RBDOOM-3-BFG and enchance the experience of Ultimate DOOM, DOOM 2 and DOOM 3.
GNU General Public License v3.0
211 stars 22 forks source link

Pause Menu Can be Closed When Exit Game Submenu is Active #133

Closed mmillar-bolis closed 10 months ago

mmillar-bolis commented 10 months ago

Describe the Bug: During gameplay, it appears to be possible to open the Pause Menu, select the option to Exit Game, and once the submenu is active and overlaying the Pause Menu, close the Pause Menu by pressing Esc or JOY9. The result is that the Exit Game submenu remains active and overlaid across the screen, continuing to capture all input while gameplay has resumed.

To Reproduce: Steps to reproduce the behavior:

  1. Load a map and press Esc or JOY9.
  2. Select the bottom option, Exit Game.
  3. When the Exit Game submenu prompt appears, press Esc or JOY9 once more.

Expected Behavior: This bug is present in vanilla Doom 3 BFG. However, it seems more intuitive for Esc/JOY9 to either close the Exit Game submenu or simply do nothing, rather than close the parent Pause Menu. I assume this behavior is related to the fact that every other submenu (Settings, Load Game, etc.) can be directly closed to return to gameplay by pressing Esc/JOY9.

If this is not considered a bug, or is outside of scope, just say the word and I will close this.

Screenshots: screenshot001 screenshot002

Desktop:

mmillar-bolis commented 10 months ago

Just tried Nightly build 697a71a and the Exit Game pop-up now closes with Esc/JOY9. Another awesome fix! Thank you again!