fix input disabling.

This commit is contained in:
IcePixelx 2021-07-28 13:06:18 +02:00
parent 7436f46f92
commit a9e8557af6

View File

@ -267,12 +267,14 @@ void DrawImGui()
GameGlobals::InputSystem->EnableInput(false); // Disable input.
DrawConsole();
}
if (g_bShowBrowser)
{
GameGlobals::InputSystem->EnableInput(false); // Disable input.
DrawBrowser();
}
else
if (!g_bShowConsole && !g_bShowBrowser)
{
GameGlobals::InputSystem->EnableInput(true); // Enable input.
}