diff --git a/Content.Server/Power/Pow3r/BatteryRampPegSolver.cs b/Content.Server/Power/Pow3r/BatteryRampPegSolver.cs index 34ed2695f5e..88d8a16be31 100644 --- a/Content.Server/Power/Pow3r/BatteryRampPegSolver.cs +++ b/Content.Server/Power/Pow3r/BatteryRampPegSolver.cs @@ -10,9 +10,8 @@ public sealed class BatteryRampPegSolver : IPowerSolver private UpdateNetworkJob _networkJob; private bool _disableParallel; - public BatteryRampPegSolver(bool disableParallel = false) + public BatteryRampPegSolver() { - _disableParallel = disableParallel; _networkJob = new() { Solver = this, @@ -56,10 +55,7 @@ public void Tick(float frameTime, PowerState state, IParallelManager parallel) // suppliers + discharger) Then decide based on total layer size whether its worth parallelizing that // layer? _networkJob.Networks = group; - if (_disableParallel) - parallel.ProcessSerialNow(_networkJob, group.Count); - else - parallel.ProcessNow(_networkJob, group.Count); + parallel.ProcessSerialNow(_networkJob, group.Count); } ClearBatteries(state);