Ludeon Forums

Ludeon Forums

  • June 04, 2020, 01:05:24 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [1.1.2610 rev1048] EndCurrentOrQueuedJob swaps boolean params to EndCurrentJob  (Read 82 times)

gryphon

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile

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)
Logged

ison

  • Developer
  • Planetologist
  • *****
  • Posts: 2356
    • View Profile

Thanks, will need to fix.
Logged