summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/StardewModdingAPI/Framework/SGame.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs
index 3a82963d..1f2bf3ac 100644
--- a/src/StardewModdingAPI/Framework/SGame.cs
+++ b/src/StardewModdingAPI/Framework/SGame.cs
@@ -1366,8 +1366,8 @@ namespace StardewModdingAPI.Framework
/// <param name="enumerable">The enumeration of items to hash.</param>
private int GetHash(IEnumerable enumerable)
{
- var hash = 0;
- foreach (var v in enumerable)
+ int hash = 0;
+ foreach (object v in enumerable)
hash ^= v.GetHashCode();
return hash;
}