summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md4
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs15
2 files changed, 10 insertions, 9 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index a9074ba9..74c68075 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -10,8 +10,12 @@
## Upcoming release
* For players:
* On macOS, the `StardewModdingAPI.bin.osx` file is no longer overwritten if it's identical to avoid resetting file permissions (thanks to 007wayne!).
+ * Fixed error for non-English players after returning to title, reloading, and entering town with a completed movie theater.
* Fixed `world_clear` console command not removing resource clumps outside the farm and secret woods.
+* For modders:
+ * Added asset propagation for `Data\Concessions`.
+
## 3.9.5
Released 21 March 2021 for Stardew Valley 1.5.4 or later.
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs
index 52da3946..83ed52ad 100644
--- a/src/SMAPI/Metadata/CoreAssetPropagator.cs
+++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs
@@ -286,6 +286,10 @@ namespace StardewModdingAPI.Metadata
Game1.clothingInformation = content.Load<Dictionary<int, string>>(key);
return true;
+ case "data\\concessions": // MovieTheater.GetConcessions
+ MovieTheater.ClearCachedLocalizedData();
+ return true;
+
case "data\\concessiontastes": // MovieTheater.GetConcessionTasteForCharacter
this.Reflection
.GetField<List<ConcessionTaste>>(typeof(MovieTheater), "_concessionTastes")
@@ -306,16 +310,9 @@ namespace StardewModdingAPI.Metadata
case "data\\hairdata": // Farmer.GetHairStyleMetadataFile
return this.ReloadHairData();
- case "data\\moviesreactions": // MovieTheater.GetMovieReactions
- this.Reflection
- .GetField<List<MovieCharacterReaction>>(typeof(MovieTheater), "_genericReactions")
- .SetValue(content.Load<List<MovieCharacterReaction>>(key));
- return true;
-
case "data\\movies": // MovieTheater.GetMovieData
- this.Reflection
- .GetField<Dictionary<string, MovieData>>(typeof(MovieTheater), "_movieData")
- .SetValue(content.Load<Dictionary<string, MovieData>>(key));
+ case "data\\moviesreactions": // MovieTheater.GetMovieReactions
+ MovieTheater.ClearCachedLocalizedData();
return true;
case "data\\npcdispositions": // NPC constructor