Unstable v0.10.600.0
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Barotrauma
|
||||
{
|
||||
if (type == CauseOfDeathType.Affliction && affliction == null)
|
||||
{
|
||||
string errorMsg = "Invalid cause of death (the type of the cause of death was Affliction, but affliction was not specified).\n" + Environment.StackTrace;
|
||||
string errorMsg = "Invalid cause of death (the type of the cause of death was Affliction, but affliction was not specified).\n" + Environment.StackTrace.CleanupStackTrace();
|
||||
DebugConsole.ThrowError(errorMsg);
|
||||
GameAnalyticsManager.AddErrorEventOnce("InvalidCauseOfDeath", GameAnalyticsSDK.Net.EGAErrorSeverity.Error, errorMsg);
|
||||
type = CauseOfDeathType.Unknown;
|
||||
|
||||
Reference in New Issue
Block a user