Refactor single-thread worker
Re-parallel Hull Update Use new gap shaffle algorithm
This commit is contained in:
@@ -814,7 +814,7 @@ namespace Barotrauma
|
||||
if (outsideCollisionBlocker == null) { return false; }
|
||||
if (IsRoomToRoom || Submarine == null || open <= 0.0f || linkedTo.Count == 0 || linkedTo[0] is not Hull)
|
||||
{
|
||||
SingleThreadWorker.GlobalWorker.AddAction(() =>
|
||||
SingleThreadWorker.Instance.AddAction(() =>
|
||||
{
|
||||
if (outsideCollisionBlocker == null) { return; }
|
||||
outsideCollisionBlocker.Enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user