Commit a399f5b0 authored by Richard Gobeille's avatar Richard Gobeille

Update menus.cpp

parent 40ed13aa
......@@ -4849,7 +4849,7 @@ void Menu_Open(uint8_t playerID)
void Menu_Close(uint8_t playerID)
{
auto & gm = g_player[playerID].ps->gm;
if (gm & MODE_GAME || gm & MODE_DEMO)
if (gm & (MODE_GAME | MODE_DEMO))
{
if (gm & MODE_MENU)
I_ClearAllInput();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment