v1.6.17.0 (Unto the Breach update)

This commit is contained in:
Regalis11
2024-10-22 17:29:04 +03:00
parent e74b3cdb17
commit 6e6c17e100
417 changed files with 17166 additions and 5870 deletions
@@ -157,7 +157,7 @@ namespace Barotrauma.Networking
{
try
{
Directory.CreateDirectory(SavePath);
Directory.CreateDirectory(SavePath, catchUnauthorizedAccessExceptions: false);
}
catch (Exception e)
{
@@ -179,12 +179,11 @@ namespace Barotrauma.Networking
try
{
File.WriteAllLines(filePath, unsavedLines.Select(l => l.Text.SanitizedValue));
File.WriteAllLines(filePath, unsavedLines.Select(l => l.Text.SanitizedValue), catchUnauthorizedAccessExceptions: false);
}
catch (Exception e)
{
DebugConsole.ThrowError("Saving the server log to " + filePath + " failed", e);
return;
}
}
}