mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed #538
This commit is contained in:
parent
34d9c53716
commit
4ce4849131
|
@ -944,7 +944,7 @@ bool MENUS::on_input(INPUT_EVENT e)
|
|||
if(is_active())
|
||||
{
|
||||
// special for popups
|
||||
if(e.flags&INPFLAG_PRESS || e.key == KEY_RETURN)
|
||||
if(e.flags&INPFLAG_PRESS && e.key == KEY_RETURN)
|
||||
enter_pressed = true;
|
||||
|
||||
if(num_inputevents < MAX_INPUTEVENTS)
|
||||
|
|
Loading…
Reference in a new issue