diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-04 20:24:21 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-04 20:24:21 -0400 |
commit | 1fa4551b1d102a464da12c7c57af737d107619b9 (patch) | |
tree | 26e57cd1aff63ca2ad8452632612056e9e5c6c74 /src/StardewModdingAPI/Inheritance/SGame.cs | |
parent | 83f129aa169d3cc32f142951843df5d40d1c0f43 (diff) | |
download | SMAPI-1fa4551b1d102a464da12c7c57af737d107619b9.tar.gz SMAPI-1fa4551b1d102a464da12c7c57af737d107619b9.tar.bz2 SMAPI-1fa4551b1d102a464da12c7c57af737d107619b9.zip |
minor cleanup
Diffstat (limited to 'src/StardewModdingAPI/Inheritance/SGame.cs')
-rw-r--r-- | src/StardewModdingAPI/Inheritance/SGame.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |