fix input suppression not working on the title menu (#527)
This commit is contained in:
parent
80ff10c5cc
commit
a059da747a
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue