diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-10 13:37:59 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-10 13:37:59 -0500 |
commit | dd7b5ac462f5be2d6bee9d61f243e5c32140f175 (patch) | |
tree | a21037fb18fab5fb8561c982d3a6b971ac12b248 /src/SMAPI/Events/EventArgsInput.cs | |
parent | 1398e591abc23a7af927cc7de1e8df512b6fc598 (diff) | |
download | SMAPI-dd7b5ac462f5be2d6bee9d61f243e5c32140f175.tar.gz SMAPI-dd7b5ac462f5be2d6bee9d61f243e5c32140f175.tar.bz2 SMAPI-dd7b5ac462f5be2d6bee9d61f243e5c32140f175.zip |
fix mods being able to change cursor position reported to other mods
Diffstat (limited to 'src/SMAPI/Events/EventArgsInput.cs')
-rw-r--r-- | src/SMAPI/Events/EventArgsInput.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Events/EventArgsInput.cs b/src/SMAPI/Events/EventArgsInput.cs index 54ce9b53..ee15fd27 100644 --- a/src/SMAPI/Events/EventArgsInput.cs +++ b/src/SMAPI/Events/EventArgsInput.cs @@ -16,7 +16,7 @@ namespace StardewModdingAPI.Events public SButton Button { get; } /// <summary>The current cursor position.</summary> - public ICursorPosition Cursor { get; set; } + public ICursorPosition Cursor { get; } /// <summary>Whether the input is considered a 'click' by the game for enabling action.</summary> [Obsolete("Use " + nameof(EventArgsInput.IsActionButton) + " or " + nameof(EventArgsInput.IsUseToolButton) + " instead")] // deprecated in SMAPI 2.1 |