Skip to content

Commit

Permalink
Also disable instructional buttons when keyboard is active
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Mar 9, 2019
1 parent cf693bc commit 37166f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MenuAPI/MenuController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37166f7

Please sign in to comment.