summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Framework/Input/SInputState.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Input/SInputState.cs b/src/SMAPI/Framework/Input/SInputState.cs
index 5e8efa62..27e40ab4 100644
--- a/src/SMAPI/Framework/Input/SInputState.cs
+++ b/src/SMAPI/Framework/Input/SInputState.cs
@@ -160,7 +160,7 @@ namespace StardewModdingAPI.Framework.Input
/// <summary>Whether input should be suppressed in the current context.</summary>
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>