Ticket #1395 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

Idle worker selection broken

Reported by: feneur Owned by: quantumstate
Priority: Must Have Milestone: Alpha 10
Component: Core engine Keywords:
Cc:

Description

Or perhaps it's rather the "marking villagers as idle" part that's broken. Either way, I do have units standing idle (the case where I noticed it was with female citizens having gathered all the food from a farm) but not either moving to a similar resource (there was another farm nearby, I think it would be within the radius, but I could be wrong) or be "marked as idle". After I had ordered the unit to move a short distance and it had stopped moving it was possible to select it via the idle worker function.

Change History

comment:1 Changed 13 months ago by k776

  • Priority changed from Should Have to Must Have
  • Milestone changed from Backlog to Alpha 10

comment:2 Changed 13 months ago by quantumstate

  • Owner set to quantumstate
  • Status changed from new to closed
  • Resolution set to fixed

In 11806:

Check that a nearby resource has >0 resources left. Fixes #1395.
Also added a check to TechnologyManager? to see if player is defined.

comment:3 Changed 13 months ago by quantumstate

  • Status changed from closed to reopened
  • Resolution fixed deleted

The error still occurs in some cases. Leper gave a test case of gathering from the berry bushes on Massacre of Delphi.

comment:4 Changed 13 months ago by quantumstate

  • Status changed from reopened to closed
  • Resolution set to fixed

In 11824:

Add SetNextStateAlwaysEnter?() function to reload a state when switching to it from itself. Fixes #1395.

Note: See TracTickets for help on using tickets.