diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-05-24 19:57:00 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-05-24 19:57:00 -0400 |
commit | a059da747a4ebf5cc4257b449a85031f7842c291 (patch) | |
tree | 4bc7af7ee18e6aefc6769eab784d12339278a4d6 /src/SMAPI/Framework | |
parent | 80ff10c5ccbaec29f35dc720e254218469157b6b (diff) | |
download | SMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.tar.gz SMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.tar.bz2 SMAPI-a059da747a4ebf5cc4257b449a85031f7842c291.zip |
fix input suppression not working on the title menu (#527)
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/Input/SInputState.cs | 2 |
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> |