diff --git a/src/Bladeburner/Action.tsx b/src/Bladeburner/Action.tsx index 839cf27c3..143c000dc 100644 --- a/src/Bladeburner/Action.tsx +++ b/src/Bladeburner/Action.tsx @@ -223,7 +223,8 @@ export class Action { let low = real - diff; let high = real + diff; const city = inst.getCurrentCity(); - const r = city.pop / city.popEst; + let r = city.pop / city.popEst; + if (Number.isNaN(r)) r = 0; if (r < 1) low *= r; else high *= r; return [clamp(low), clamp(high)];