summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-05-23 14:56:44 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 17:59:03 -0400
commit24160cacdce0b2e31a3f7dc130fe84cb164bcf19 (patch)
tree3d802e51ed53250bed4f595e5f340092b290b279 /src/SMAPI/Metadata
parent732d66f1fe9c697eadeb05e4e0e05ccc7f3f6794 (diff)
downloadSMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.tar.gz
SMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.tar.bz2
SMAPI-24160cacdce0b2e31a3f7dc130fe84cb164bcf19.zip
fix tilesheets not seasonalised when a map is reloaded (#642)
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs1
1 files changed, 1 insertions, 0 deletions
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;