diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-06-16 14:12:54 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:04:50 -0400 |
commit | 059a59a7bcb560b938f0baf54575719e57962e0c (patch) | |
tree | 3549a8c9dfb1863af8be74f794f76d3c8c471eb7 /src/SMAPI/Framework/ModHelpers | |
parent | 7ecbbb1b704e5ce8d89c35f46524c1bd21383aae (diff) | |
download | SMAPI-059a59a7bcb560b938f0baf54575719e57962e0c.tar.gz SMAPI-059a59a7bcb560b938f0baf54575719e57962e0c.tar.bz2 SMAPI-059a59a7bcb560b938f0baf54575719e57962e0c.zip |
fix error when loading a mod asset through a translated content manager (#647)
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 0be9aea5..15b164b1 100644 --- a/src/SMAPI/Framework/ModHelpers/ContentHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs @@ -94,7 +94,7 @@ namespace StardewModdingAPI.Framework.ModHelpers return this.GameContentManager.Load<T>(key, this.CurrentLocaleConstant, useCache: false); case ContentSource.ModFolder: - return this.ModContentManager.Load<T>(key, this.CurrentLocaleConstant, useCache: false); + return this.ModContentManager.Load<T>(key, Constants.DefaultLanguage, useCache: false); default: throw new SContentLoadException($"{this.ModName} failed loading content asset '{key}' from {source}: unknown content source '{source}'."); |