From 2406380495cc5176d3cbd2309e6f17080389f9af Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 26 Dec 2020 01:28:00 -0500 Subject: fix SMAPI using a cached translation when the game asks for an untranslated asset This mainly affects community center bundles in Stardew Valley 1.5, --- src/SMAPI/Framework/ContentManagers/IContentManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/SMAPI/Framework/ContentManagers/IContentManager.cs') diff --git a/src/SMAPI/Framework/ContentManagers/IContentManager.cs b/src/SMAPI/Framework/ContentManagers/IContentManager.cs index 8da9a777..0e7edd8f 100644 --- a/src/SMAPI/Framework/ContentManagers/IContentManager.cs +++ b/src/SMAPI/Framework/ContentManagers/IContentManager.cs @@ -58,7 +58,8 @@ namespace StardewModdingAPI.Framework.ContentManagers /// Get whether the content manager has already loaded and cached the given asset. /// The asset path relative to the loader root directory, not including the .xnb extension. - bool IsLoaded(string assetName); + /// The language. + bool IsLoaded(string assetName, LocalizedContentManager.LanguageCode language); /// Get the cached asset keys. IEnumerable GetAssetKeys(); -- cgit