summaryrefslogtreecommitdiff
path: root/src/SMAPI/Constants.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-06-16 14:12:54 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:04:50 -0400
commit059a59a7bcb560b938f0baf54575719e57962e0c (patch)
tree3549a8c9dfb1863af8be74f794f76d3c8c471eb7 /src/SMAPI/Constants.cs
parent7ecbbb1b704e5ce8d89c35f46524c1bd21383aae (diff)
downloadSMAPI-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/Constants.cs')
-rw-r--r--src/SMAPI/Constants.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs
index f58722a0..e02c9265 100644
--- a/src/SMAPI/Constants.cs
+++ b/src/SMAPI/Constants.cs
@@ -97,6 +97,9 @@ namespace StardewModdingAPI
/// <summary>The game's assembly name.</summary>
internal static string GameAssemblyName => Constants.Platform == Platform.Windows ? "Stardew Valley" : "StardewValley";
+ /// <summary>The language code for non-translated mod assets.</summary>
+ internal static LocalizedContentManager.LanguageCode DefaultLanguage { get; } = LocalizedContentManager.LanguageCode.en;
+
/*********
** Internal methods