diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-03-14 04:43:28 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-03-14 04:43:28 -0400 |
commit | 04388fe7e3b721358de25d64607d47d5f6113eda (patch) | |
tree | 2a5993976013d941590743d4cb71f67793d41fe4 /src/SMAPI/Framework/ModHelpers | |
parent | 77629a528a2f93a2977a1bf63e2e18faaaffaaaf (diff) | |
download | SMAPI-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.cs | 2 |
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 /> |