Only handle host options when there is no menu on screen (#140)
This commit is contained in:
@@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user