summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md2
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs5
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 9980c310..404424e7 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -29,7 +29,7 @@ These changes have not been released yet.
* Added support for content pack translations.
* Added fields and methods: `IContentPack.HasFile`, `Context.IsGameLaunched`, and `SemanticVersion.TryParse`.
* Added separate `LogNetworkTraffic` option to make verbose logging less overwhelmingly verbose.
- * Added asset propagation for critter textures.
+ * Added asset propagation for critter textures and `DayTimeMoneyBox` buttons.
* The installer now recognises custom game paths stored in `stardewvalley.targets`, if any.
* When a mod is incompatible, the trace logs now list all detected issues instead of the first one.
* Removed all deprecated APIs.
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs
index b000d503..3fbca04a 100644
--- a/src/SMAPI/Metadata/CoreAssetPropagator.cs
+++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs
@@ -293,6 +293,11 @@ namespace StardewModdingAPI.Metadata
case "loosesprites\\cursors": // Game1.LoadContent
Game1.mouseCursors = content.Load<Texture2D>(key);
+ foreach (DayTimeMoneyBox menu in Game1.onScreenMenus.OfType<DayTimeMoneyBox>())
+ {
+ foreach (ClickableTextureComponent button in new[] { menu.questButton, menu.zoomInButton, menu.zoomOutButton })
+ button.texture = Game1.mouseCursors;
+ }
return true;
case "loosesprites\\daybg": // Game1.LoadContent