OBT/1.0.8

Fixed an mod conflict due to execute order
This commit is contained in:
NotAlwaysTrue
2025-12-28 14:36:09 +08:00
committed by GitHub

View File

@@ -249,6 +249,9 @@ namespace Barotrauma
() => { if (Level.Loaded != null) Level.Loaded.Update((float)deltaTime, Camera.Instance); },
() => Character.UpdateAll((float)deltaTime, Camera.Instance)
);
//StatusEffect.UpdateAll is not thread-safe and must be executed on the main thread
StatusEffect.UpdateAll((float)deltaTime);
#endif
var submarines = Submarine.Loaded.ToList();
@@ -272,9 +275,6 @@ namespace Barotrauma
MapEntity.UpdateAll((float)deltaTime, Camera.Instance, parallelOptions);
//StatusEffect.UpdateAll is not thread-safe and must be executed on the main thread
StatusEffect.UpdateAll((float)deltaTime);
#endif
#if CLIENT