mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
fix input disabling.
This commit is contained in:
parent
7436f46f92
commit
a9e8557af6
@ -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.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user