Skip to content

Commit

Permalink
#691 fix for the Standing Drafted issue by directly updating the queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn1p3rr3c0n committed Mar 19, 2023
1 parent 558f09d commit 78d4251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public static bool Prefix(Job newJob, ref Pawn ___pawn, JobCondition lastJobEndC
if (target.Thing != null)
{
port.Value.AddItemToQueue(target.Thing);
port.Value.updateQueue();
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private Thing GetstoredItem()

public override bool IsAdvancedPort => true;

private void updateQueue()
public void updateQueue()
{
if (CanGetNewItem && placementQueue.Count > 0)
{
Expand Down

0 comments on commit 78d4251

Please sign in to comment.