v0.3.0 — playtest fixes, two new rules, and §7 enforced
This commit is contained in:
+2
-2
@@ -460,8 +460,8 @@ export function impediments(s: GameState, player = 0): Impediment[] {
|
||||
// A load that cannot move, with Laborers standing by, is the worst state a facility reaches:
|
||||
// it also strips the industry track of Operational Rail status (§9.3), so no car can be
|
||||
// brought in to rescue it.
|
||||
for (let box = 0; box < f.menAtWork.length; box++) {
|
||||
const load = f.menAtWork[box];
|
||||
for (let box = 0; box < (f.menAtWork?.length ?? 0); box++) {
|
||||
const load = f.menAtWork![box];
|
||||
if (!load || canAdvanceLoad(f, box)) continue;
|
||||
const reason =
|
||||
laborersLeft(f) < 1
|
||||
|
||||
Reference in New Issue
Block a user