Ludeon Forums

RimWorld => Bugs => Topic started by: gryphon on May 01, 2020, 08:26:54 PM

Title: [1.1.2610 rev1048] EndCurrentOrQueuedJob swaps boolean params to EndCurrentJob
Post by: gryphon on May 01, 2020, 08:26:54 PM
at the end of EndCurrentOrQueuedJob in Pawn_JobTracker, canReturnToPool and startNewJob are swapped. The following is called:

if (this.curJob == job)
{
      this.EndCurrentJob(condition, canReturnToPool, true);
}

EndCurrentJob is defined as:

public void EndCurrentJob(JobCondition condition, bool startNewJob = true, bool canReturnToPool = true)
Title: Re: [1.1.2610 rev1048] EndCurrentOrQueuedJob swaps boolean params to EndCurrentJob
Post by: ison on May 06, 2020, 11:55:39 AM
Thanks, will need to fix.