Open github-actions[bot] opened 4 weeks ago
https://github.com/trymnilsen/kingdomarchitect/blob/b709b7e6d1bb27f0fd76d52b2a77856c4e0e10d6/ts/src/game/component/job/jobs/buildJob.ts#L124
.getRootEntity() .queryComponents(InventoryComponent2) .filter((component) => { // TODO: Improve the check for if the entity with inventory is a stockpile const doesNotHaveAJobRunner = component.entity.getComponent(JobRunnerComponent) == null;
https://github.com/trymnilsen/kingdomarchitect/blob/b709b7e6d1bb27f0fd76d52b2a77856c4e0e10d6/ts/src/game/component/job/jobs/buildJob.ts#L124