diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-18 23:19:34 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-18 23:19:34 -0500 |
commit | 00e545715d89f32ab999a3b1f6ae70edec158591 (patch) | |
tree | a6dbf4b259dab81c77dba175ee8c29495958b19b /src | |
parent | 9fb6d67417ee3f2db0754b135786e052ae308683 (diff) | |
download | SMAPI-00e545715d89f32ab999a3b1f6ae70edec158591.tar.gz SMAPI-00e545715d89f32ab999a3b1f6ae70edec158591.tar.bz2 SMAPI-00e545715d89f32ab999a3b1f6ae70edec158591.zip |
reset map overrides when reloading a map (#751)
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index 24b578ad..29c4dc1d 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -785,6 +785,7 @@ namespace StardewModdingAPI.Metadata private void ReloadMap(GameLocation location) { // reset patch caches + this.Reflection.GetField<HashSet<string>>(location, "_appliedMapOverrides").GetValue().Clear(); switch (location) { case Town _: |