summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 18:46:29 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 18:46:29 -0400
commitdf955c0d3e0110be0893082de0c82187de63d9d2 (patch)
treee128b8e2dd9c4a764dd157d247fc1eec029ed876
parentd706a25053cdc5d9f1ccc2c09dc3913f835c3f78 (diff)
downloadSMAPI-df955c0d3e0110be0893082de0c82187de63d9d2.tar.gz
SMAPI-df955c0d3e0110be0893082de0c82187de63d9d2.tar.bz2
SMAPI-df955c0d3e0110be0893082de0c82187de63d9d2.zip
enable asset caching for GameContentHelper
-rw-r--r--src/SMAPI/Framework/ModHelpers/GameContentHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/GameContentHelper.cs b/src/SMAPI/Framework/ModHelpers/GameContentHelper.cs
index ed0c46d5..956bac7f 100644
--- a/src/SMAPI/Framework/ModHelpers/GameContentHelper.cs
+++ b/src/SMAPI/Framework/ModHelpers/GameContentHelper.cs
@@ -75,7 +75,7 @@ namespace StardewModdingAPI.Framework.ModHelpers
{
try
{
- return this.GameContentManager.LoadLocalized<T>(assetName, this.CurrentLocaleConstant, useCache: false);
+ return this.GameContentManager.LoadLocalized<T>(assetName, this.CurrentLocaleConstant, useCache: true);
}
catch (Exception ex) when (ex is not SContentLoadException)
{