summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-14 04:43:28 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-14 04:43:28 -0400
commit04388fe7e3b721358de25d64607d47d5f6113eda (patch)
tree2a5993976013d941590743d4cb71f67793d41fe4 /src/SMAPI/Framework/ModHelpers
parent77629a528a2f93a2977a1bf63e2e18faaaffaaaf (diff)
downloadSMAPI-04388fe7e3b721358de25d64607d47d5f6113eda.tar.gz
SMAPI-04388fe7e3b721358de25d64607d47d5f6113eda.tar.bz2
SMAPI-04388fe7e3b721358de25d64607d47d5f6113eda.zip
fix some assets not reapplied correctly when playing in non-English and returning to title
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers')
-rw-r--r--src/SMAPI/Framework/ModHelpers/ContentHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/ContentHelper.cs b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs
index 5fd8f5e9..bfca2264 100644
--- a/src/SMAPI/Framework/ModHelpers/ContentHelper.cs
+++ b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs
@@ -136,7 +136,7 @@ namespace StardewModdingAPI.Framework.ModHelpers
public bool InvalidateCache<T>()
{
this.Monitor.Log($"Requested cache invalidation for all assets of type {typeof(T)}. This is an expensive operation and should be avoided if possible.", LogLevel.Trace);
- return this.ContentCore.InvalidateCache((key, type) => typeof(T).IsAssignableFrom(type)).Any();
+ return this.ContentCore.InvalidateCache((contentManager, key, type) => typeof(T).IsAssignableFrom(type)).Any();
}
/// <inheritdoc />