diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-13 23:26:27 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-13 23:26:27 -0400 |
commit | b71601a2520938b1a09d635007dba26854fd845a (patch) | |
tree | 91997df82b6eff647b2cef23232a5758a30b9631 /src/SMAPI/Metadata/CoreAssets.cs | |
parent | c5932233eb8e9bce26c5cea42d1afcdb7e5e4a85 (diff) | |
download | SMAPI-b71601a2520938b1a09d635007dba26854fd845a.tar.gz SMAPI-b71601a2520938b1a09d635007dba26854fd845a.tar.bz2 SMAPI-b71601a2520938b1a09d635007dba26854fd845a.zip |
fix recipe data not being reloaded when needed
Diffstat (limited to 'src/SMAPI/Metadata/CoreAssets.cs')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssets.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/CoreAssets.cs b/src/SMAPI/Metadata/CoreAssets.cs index 24f23af7..5a98da4b 100644 --- a/src/SMAPI/Metadata/CoreAssets.cs +++ b/src/SMAPI/Metadata/CoreAssets.cs @@ -37,6 +37,10 @@ namespace StardewModdingAPI.Metadata this.SingletonSetters = new Dictionary<string, Action<SContentManager, string>> { + // from CraftingRecipe.InitShared + ["Data\\CraftingRecipes"] = (content, key) => CraftingRecipe.craftingRecipes = content.Load<Dictionary<string, string>>(key), + ["Data\\CookingRecipes"] = (content, key) => CraftingRecipe.cookingRecipes = content.Load<Dictionary<string, string>>(key), + // from Game1.loadContent ["LooseSprites\\daybg"] = (content, key) => Game1.daybg = content.Load<Texture2D>(key), ["LooseSprites\\nightbg"] = (content, key) => Game1.nightbg = content.Load<Texture2D>(key), |