omf2097 / openomf

One Must Fall 2097 Remake
http://www.openomf.org
MIT License
375 stars 40 forks source link

ESC key should immediately return in main menu #266

Open katajakasa opened 10 years ago

katajakasa commented 10 years ago

ESC key should immediately return to previous menu in main menu. Only in the base level of the mainmenu should ESC move the selection to the last item in menu.

Vagabond commented 9 years ago

This seems fixed?

Nopey commented 4 days ago

Current behavior is a result of player 1 and player 2 both mapping the ESC key to ACT_ESC. Player 1's ACT_ESC focuses the quit button, and player 2's ACT_ESC presses it.

As a result, pressing escape while on the root of the main menu incorrectly goes to the credits scene in one press.