summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorYonKuma <kumarei@gmail.com>2017-11-08 22:59:51 -0500
committerYonKuma <kumarei@gmail.com>2017-11-08 22:59:51 -0500
commitb9ba645ce0cb8fe924e0c8e880ebba3d065558ef (patch)
tree8f022492d61b776bce16601da3dc29e9ac1cbf2b /src/SMAPI
parent7dc7f010a64ef0cf057a67bbee85196ce1d695c0 (diff)
downloadSMAPI-b9ba645ce0cb8fe924e0c8e880ebba3d065558ef.tar.gz
SMAPI-b9ba645ce0cb8fe924e0c8e880ebba3d065558ef.tar.bz2
SMAPI-b9ba645ce0cb8fe924e0c8e880ebba3d065558ef.zip
Fixing code to match SMAPI idiom
Diffstat (limited to 'src/SMAPI')
-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)
{