summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-21 11:39:37 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-21 11:39:37 -0400
commitba0dff819f2e65b16a0c7bc7a9233fdb101994d0 (patch)
tree93d91857b16f1894be21967feb7ce928bc7792e9 /src/SMAPI
parente64ecc89f94641d4054162eff4943f660f43030f (diff)
parent4f73fb5c33545b99ea95d4af6ad3660660c1dc64 (diff)
downloadSMAPI-ba0dff819f2e65b16a0c7bc7a9233fdb101994d0.tar.gz
SMAPI-ba0dff819f2e65b16a0c7bc7a9233fdb101994d0.tar.bz2
SMAPI-ba0dff819f2e65b16a0c7bc7a9233fdb101994d0.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Constants.cs2
-rw-r--r--src/SMAPI/Framework/Events/ManagedEventHandler.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs
index 66971709..a7e44de6 100644
--- a/src/SMAPI/Constants.cs
+++ b/src/SMAPI/Constants.cs
@@ -20,7 +20,7 @@ namespace StardewModdingAPI
** Public
****/
/// <summary>SMAPI's current semantic version.</summary>
- public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.6.0");
+ public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.6.1");
/// <summary>The minimum supported version of Stardew Valley.</summary>
public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.4.1");
diff --git a/src/SMAPI/Framework/Events/ManagedEventHandler.cs b/src/SMAPI/Framework/Events/ManagedEventHandler.cs
index cf470c1e..b32a2a22 100644
--- a/src/SMAPI/Framework/Events/ManagedEventHandler.cs
+++ b/src/SMAPI/Framework/Events/ManagedEventHandler.cs
@@ -47,7 +47,7 @@ namespace StardewModdingAPI.Framework.Events
if (!(obj is ManagedEventHandler<TEventArgs> other))
throw new ArgumentException("Can't compare to an unrelated object type.");
- int priorityCompare = this.Priority.CompareTo(other.Priority);
+ int priorityCompare = -this.Priority.CompareTo(other.Priority); // higher value = sort first
return priorityCompare != 0
? priorityCompare
: this.RegistrationOrder.CompareTo(other.RegistrationOrder);