summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata/CoreAssetPropagator.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-09-13 18:48:22 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-09-13 18:48:22 -0400
commit4a7eb97306c2663ff214cd1c914f910d269ea780 (patch)
treef848bfe2818a2344ff4bc1eb66188b830b923c24 /src/SMAPI/Metadata/CoreAssetPropagator.cs
parentf6f4470d955c75531d40a9dc3a353d261c715d4a (diff)
downloadSMAPI-4a7eb97306c2663ff214cd1c914f910d269ea780.tar.gz
SMAPI-4a7eb97306c2663ff214cd1c914f910d269ea780.tar.bz2
SMAPI-4a7eb97306c2663ff214cd1c914f910d269ea780.zip
add asset propagation for giftbox texture
Diffstat (limited to 'src/SMAPI/Metadata/CoreAssetPropagator.cs')
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs
index 708673c3..35ae26b3 100644
--- a/src/SMAPI/Metadata/CoreAssetPropagator.cs
+++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs
@@ -414,6 +414,10 @@ namespace StardewModdingAPI.Metadata
SpriteText.coloredTexture = content.Load<Texture2D>(key);
return true;
+ case "loosesprites\\giftbox": // Game1.LoadContent
+ Game1.giftboxTexture = content.Load<Texture2D>(key);
+ return true;
+
case "loosesprites\\nightbg": // Game1.LoadContent
Game1.nightbg = content.Load<Texture2D>(key);
return true;