v0.12.0.2

This commit is contained in:
Joonas Rikkonen
2021-02-10 17:08:21 +02:00
parent 5c80a59bdd
commit 694cdfee7b
353 changed files with 12897 additions and 5028 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);