[1.1.2610 rev1048] EndCurrentOrQueuedJob swaps boolean params to EndCurrentJob

Started by gryphon, May 01, 2020, 08:26:54 PM

Previous topic - Next topic

gryphon

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)

ison