Unstable 0.17.0.0

This commit is contained in:
Markus Isberg
2022-02-26 02:43:01 +09:00
parent a83f375681
commit 3974067915
913 changed files with 32472 additions and 32364 deletions
@@ -136,6 +136,10 @@ namespace Barotrauma
public static void InitIfConsented()
{
#if DEBUG
return;
#endif
if (!consentTextAvailable)
{
SetConsent(Consent.Unknown);
@@ -225,8 +229,9 @@ namespace Barotrauma
DebugConsole.ThrowError(TextManager.Get("MasterServerErrorUnavailable"));
break;
default:
DebugConsole.ThrowError(TextManager.GetWithVariables("MasterServerErrorDefault", new string[2] { "[statuscode]", "[statusdescription]" },
new string[2] { response.StatusCode.ToString(), response.StatusDescription }));
DebugConsole.ThrowError(TextManager.GetWithVariables("MasterServerErrorDefault",
("[statuscode]", response.StatusCode.ToString()),
("[statusdescription]", response.StatusDescription)));
break;
}
}