Only handle host options when there is no menu on screen (#140)
This commit is contained in:
parent
7ad6102763
commit
a4691f58e8
|
|
@ -1215,7 +1215,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||||
}
|
}
|
||||||
|
|
||||||
// TAB opens host options menu. - Vvis :3
|
// TAB opens host options menu. - Vvis :3
|
||||||
if (KMInput.IsKeyPressed(VK_TAB))
|
if (KMInput.IsKeyPressed(VK_TAB) && !ui.GetMenuDisplayed(0))
|
||||||
{
|
{
|
||||||
if (Minecraft* pMinecraft = Minecraft::GetInstance())
|
if (Minecraft* pMinecraft = Minecraft::GetInstance())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue