"Toggle Menu" keybind not working as expected
Posted: Sun Nov 24, 2024 4:31 pm
I was playing around with keybinds trying to make it possible to go to the menu while in map view, and noticed something strange. If you bind an extra key to the "toggle menu" keybind, then go to map view view and press that key, it won't open the menu, it'll instead close map view.
The escape key by default has two functions, which are "close current popup" and "toggle menu", and binding a new key to the "toggle menu" key bind seems to add it to both of these functions, causing this behavior.
This effectively makes it impossible to go the game menu from the map view. That's not something game breaking, but it is still rather annoying, as not only is it useful to be able to save the game or change settings without disrupting your workflow, but it's also a very convenient way of pausing the game.
As an aside: It would awesome if the map view didn't count as a popup, so esc doesn't close it. But that's more of a feature request than a bug report.
The escape key by default has two functions, which are "close current popup" and "toggle menu", and binding a new key to the "toggle menu" key bind seems to add it to both of these functions, causing this behavior.
This effectively makes it impossible to go the game menu from the map view. That's not something game breaking, but it is still rather annoying, as not only is it useful to be able to save the game or change settings without disrupting your workflow, but it's also a very convenient way of pausing the game.
As an aside: It would awesome if the map view didn't count as a popup, so esc doesn't close it. But that's more of a feature request than a bug report.