diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-05-23 14:56:44 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 17:59:03 -0400 |
commit | 24160cacdce0b2e31a3f7dc130fe84cb164bcf19 (patch) | |
tree | 3d802e51ed53250bed4f595e5f340092b290b279 | |
parent | 732d66f1fe9c697eadeb05e4e0e05ccc7f3f6794 (diff) | |
download | SMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.tar.gz SMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.tar.bz2 SMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.zip |
fix tilesheets not seasonalised when a map is reloaded (#642)
-rw-r--r-- | docs/release-notes.md | 1 | ||||
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 2b03579b..513423ca 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -17,6 +17,7 @@ These changes have not been released yet. * Fixed some assets not updated when you switch language to English. * Fixed lag in some cases due to incorrect asset caching when playing in non-English. * Fixed lag when a mod invalidates many NPC portraits/sprites at once. + * Fixed seasonal tilesheet issues when a mod reloads a map. * For modders: * Added support for content pack translations. diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index 4f8f1427..71e51cea 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -139,6 +139,7 @@ namespace StardewModdingAPI.Metadata if (!string.IsNullOrWhiteSpace(location.mapPath.Value) && this.GetNormalisedPath(location.mapPath.Value) == key) { location.reloadMap(); + location.updateSeasonalTileSheets(); location.updateWarps(); this.Reflection.GetField<InteriorDoorDictionary>(location, nameof(location.interiorDoors)).SetValue(new InteriorDoorDictionary(location)); anyChanged = true; |