1
0
mirror of https://github.com/Mauler125/r5sdk.git synced 2025-02-09 19:15:03 +01:00

Merge pull request from PixieCore/master

fix input disabling.
This commit is contained in:
PixieCore 2021-07-28 13:09:26 +02:00 committed by GitHub
commit d245161c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.
}