Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions

View File

@@ -482,6 +482,11 @@ namespace Barotrauma
public void TestLevelGenerationForErrors(int amountOfLevelsToGenerate)
{
if (selectedParams == null)
{
throw new InvalidOperationException("No level generation parameters selected in the level editor.");
}
CoroutineManager.StartCoroutine(GenerateLevels());
IEnumerable<CoroutineStatus> GenerateLevels()
@@ -520,7 +525,7 @@ namespace Barotrauma
errorCatcher.Errors.ToList().ForEach(e => DebugConsole.ThrowError(e.Text));
yield return CoroutineStatus.Success;
}
yield return CoroutineStatus.Running;
yield return new WaitForSeconds(0.1f);
}
}
}