fix input suppression not working on the title menu (#527)

This commit is contained in:
Jesse Plamondon-Willard 2018-05-24 19:57:00 -04:00
parent 80ff10c5cc
commit a059da747a
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ namespace StardewModdingAPI.Framework.Input
/// <summary>Whether input should be suppressed in the current context.</summary> /// <summary>Whether input should be suppressed in the current context.</summary>
private bool ShouldSuppressNow() private bool ShouldSuppressNow()
{ {
return Game1.chatBox != null && !Game1.chatBox.isActive(); return Game1.chatBox == null || !Game1.chatBox.isActive();
} }
/// <summary>Apply input suppression to the given input states.</summary> /// <summary>Apply input suppression to the given input states.</summary>