(6eeea9b7c) v0.9.10.0.0

This commit is contained in:
Joonas Rikkonen
2020-06-04 16:41:07 +03:00
parent ce4ccd99ac
commit eeac247a8e
366 changed files with 7772 additions and 3692 deletions
@@ -1,7 +1,7 @@
#region Using Statements
using System;
using System.IO;
using Barotrauma.IO;
using System.Linq;
using System.Text;
using GameAnalyticsSDK.Net;
@@ -104,8 +104,6 @@ namespace Barotrauma
exeHash = new Md5Hash(stream);
}
StreamWriter sw = new StreamWriter(filePath);
StringBuilder sb = new StringBuilder();
sb.AppendLine("Barotrauma Client crash report (generated on " + DateTime.Now + ")");
sb.AppendLine("\n");
@@ -235,8 +233,7 @@ namespace Barotrauma
string crashReport = sb.ToString();
sw.WriteLine(crashReport);
sw.Close();
File.WriteAllText(filePath, crashReport);
if (GameSettings.SaveDebugConsoleLogs) DebugConsole.SaveLogs();