diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-21 23:14:31 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 17:01:33 -0400 |
commit | f78502a3a4a133b93cf9bf01eb426867e7798045 (patch) | |
tree | 98bc8eea0c8451da4285c8699125752cc6ae2a94 /src/SMAPI/Framework/Input/SInputState.cs | |
parent | 332bcfa5a19509352aa417a04a677b5701c16986 (diff) | |
download | SMAPI-f78502a3a4a133b93cf9bf01eb426867e7798045.tar.gz SMAPI-f78502a3a4a133b93cf9bf01eb426867e7798045.tar.bz2 SMAPI-f78502a3a4a133b93cf9bf01eb426867e7798045.zip |
fix incorrect input check, update release notes
Diffstat (limited to 'src/SMAPI/Framework/Input/SInputState.cs')
-rw-r--r-- | src/SMAPI/Framework/Input/SInputState.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Input/SInputState.cs b/src/SMAPI/Framework/Input/SInputState.cs index 96a7003a..a15272d5 100644 --- a/src/SMAPI/Framework/Input/SInputState.cs +++ b/src/SMAPI/Framework/Input/SInputState.cs @@ -94,7 +94,10 @@ namespace StardewModdingAPI.Framework.Input this.RealKeyboard = realKeyboard; this.RealMouse = realMouse; if (cursorAbsolutePos != this.CursorPositionImpl?.AbsolutePixels || playerTilePos != this.LastPlayerTile) + { + this.LastPlayerTile = playerTilePos; this.CursorPositionImpl = this.GetCursorPosition(realMouse, cursorAbsolutePos); + } // update suppressed states this.SuppressButtons.RemoveWhere(p => !this.GetStatus(activeButtons, p).IsDown()); |