Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[Vanilla Bug] Keyboard does not check if input is locked when processing hotkey commands.

Open CCHyper opened this issue 3 years ago • 1 comments

Description:

The keyboard process loop does not check if the input is locked when processing hotkey commands, as a result, the player can affect the game in certain situations when the lock input trigger has been executed.

Ideal Behaviour:

All hotkeys other than "Options" should be disabled.

Possible Fix:

This can be implemented by checking if the input locked flag is set, and only allowing a hotkey command that matches the "Options" to be executed. Keyboard_Process() is inlined in Main_Loop(), this check should be done just after the call to GScreenClass::Input().

CCHyper avatar Jun 02 '21 17:06 CCHyper