From 1fa4551b1d102a464da12c7c57af737d107619b9 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 4 Nov 2016 20:24:21 -0400 Subject: minor cleanup --- src/StardewModdingAPI/Inheritance/SGame.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/StardewModdingAPI/Inheritance/SGame.cs') diff --git a/src/StardewModdingAPI/Inheritance/SGame.cs b/src/StardewModdingAPI/Inheritance/SGame.cs index bd6a3491..5ffb388e 100644 --- a/src/StardewModdingAPI/Inheritance/SGame.cs +++ b/src/StardewModdingAPI/Inheritance/SGame.cs @@ -949,7 +949,7 @@ namespace StardewModdingAPI.Inheritance if (objectHash != null && this.PreviousLocationObjects != objectHash) { LocationEvents.InvokeOnNewLocationObject(Game1.currentLocation.objects); - this.PreviousLocationObjects = objectHash ?? -1; + this.PreviousLocationObjects = objectHash.Value; } // raise time changed -- cgit