Unstable 1.8.4.0

This commit is contained in:
Markus Isberg
2025-03-12 12:56:27 +00:00
parent a4c3e868e4
commit a4a3427e4e
627 changed files with 29860 additions and 10018 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;
}
}
}