summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI/Events/EventArgsInput.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Events/EventArgsInput.cs b/src/SMAPI/Events/EventArgsInput.cs
index 0df5275b..bb06430a 100644
--- a/src/SMAPI/Events/EventArgsInput.cs
+++ b/src/SMAPI/Events/EventArgsInput.cs
@@ -129,7 +129,7 @@ namespace StardewModdingAPI.Events
}
// mouse
- else if (button.TryGetStardewInput(out InputButton inputButton))
+ else if (this.Button.TryGetStardewInput(out InputButton inputButton))
{
if (inputButton.mouseLeft)
{