summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-07-14 14:55:31 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:49:28 -0400
commit1053232c2039a2815baf2cfa99fe8c554d1350a9 (patch)
tree5d541542e62946d12b6f92f8cb778124842bd4f8 /src/SMAPI/Metadata
parent4f7d861ce4767259a556607a167481e074ec4f4c (diff)
downloadSMAPI-1053232c2039a2815baf2cfa99fe8c554d1350a9.tar.gz
SMAPI-1053232c2039a2815baf2cfa99fe8c554d1350a9.tar.bz2
SMAPI-1053232c2039a2815baf2cfa99fe8c554d1350a9.zip
add asset propagation for DayTimeMoneyBox buttons
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs5
1 files changed, 5 insertions, 0 deletions
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