Skip to content

Commit

Permalink
ParallelProductionQueue: pause production, when all Production traits…
Browse files Browse the repository at this point in the history
… are paused
  • Loading branch information
michaeldgg2 authored and abcdefg30 committed Feb 25, 2024
1 parent d3c44de commit 63247d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ protected override void TickInner(Actor self, bool allProductionPaused)
CancelUnbuildableItems();

var item = Queue.FirstOrDefault(i => !i.Paused);
if (item == null)
if (item == null || allProductionPaused)
return;

var before = item.RemainingTime;
Expand Down

0 comments on commit 63247d2

Please sign in to comment.