Unstable 0.15.15.0 (and the one before it I forgor)

This commit is contained in:
Markus Isberg
2021-11-18 21:34:30 +09:00
parent 10e5fd5f3e
commit 80f39cd2a3
257 changed files with 4916 additions and 2582 deletions
@@ -84,7 +84,7 @@ namespace Barotrauma
Vector4 sourceVector = Vector4.Zero;
bool temp2 = false;
int maxLoadRetries = 3;
int maxLoadRetries = File.Exists(FilePath) ? 3 : 0;
for (int i = 0; i <= maxLoadRetries; i++)
{
try
@@ -169,7 +169,8 @@ namespace Barotrauma
}
else
{
DebugConsole.ThrowError($"Sprite \"{file}\" not found! {Environment.StackTrace.CleanupStackTrace()}");
DebugConsole.ThrowError($"Sprite \"{file}\" not found!");
DebugConsole.Log(Environment.StackTrace.CleanupStackTrace());
}
return null;