summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-24 19:57:00 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-24 19:57:00 -0400
commita059da747a4ebf5cc4257b449a85031f7842c291 (patch)
tree4bc7af7ee18e6aefc6769eab784d12339278a4d6
parent80ff10c5ccbaec29f35dc720e254218469157b6b (diff)
downloadSMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.tar.gz
SMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.tar.bz2
SMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.zip
fix input suppression not working on the title menu (#527)
-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>