From 37166f7265dd3bfdca607a6c5d088a93fe30542d Mon Sep 17 00:00:00 2001 From: Vespura <31419184+TomGrobbe@users.noreply.github.com> Date: Sat, 9 Mar 2019 13:32:59 +0100 Subject: [PATCH] Also disable instructional buttons when keyboard is active --- MenuAPI/MenuController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MenuAPI/MenuController.cs b/MenuAPI/MenuController.cs index 674b5ec..76b1fca 100644 --- a/MenuAPI/MenuController.cs +++ b/MenuAPI/MenuController.cs @@ -689,7 +689,7 @@ private static async Task ProcessMenus() internal static async Task DrawInstructionalButtons() { - if (!Game.IsPaused && !Game.Player.IsDead && IsScreenFadedIn() && !IsPlayerSwitchInProgress()) + if (!Game.IsPaused && !Game.Player.IsDead && IsScreenFadedIn() && !IsPlayerSwitchInProgress() && !IsWarningMessageActive() && UpdateOnscreenKeyboard() != 0) { Menu menu = GetCurrentMenu(); if (menu != null && menu.Visible && menu.EnableInstructionalButtons)