Unstable v0.1300.0.0 (February 19th 2021)

This commit is contained in:
Joonas Rikkonen
2021-02-25 13:44:23 +02:00
parent b772654326
commit 24cbef485a
441 changed files with 21343 additions and 8562 deletions
@@ -343,6 +343,14 @@ namespace Barotrauma
}
}
if (variableValue == null)
{
variableValue = "null";
#if DEBUG
throw new ArgumentException($"Variable value \"{variableTag}\" was null.");
#endif
}
if (formatCapitals && !GameMain.Config.Language.Contains("Chinese"))
{
variableValue = HandleVariableCapitalization(text, variableTag, variableValue);