Skip to content

Commit

Permalink
(Aegis) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 20, 2023
1 parent 99537e6 commit aecb831
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion industry/economies/firs_arctic.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,17 @@ def get_economy(self, parameters):
if parameters["WORKFORCE"] == "YETI_TIRED":
ret.graph[fishing_grounds].produces += (tired_workers,)
if parameters["WORKER_PARTICIPATION"] in ("PRIMARY_INDUSTRY", "SECONDARY_INDUSTRY", "BOTH"):
for i in [ammonia_plant, clay_pit, potash_mine, peatlands, phosphate_mine, pyrite_mine]:
for i in [
ammonia_plant,
clay_pit,
potash_mine,
peatlands,
phosphate_mine,
pyrite_mine,
fish_farm,
forest,
herding_coop,
]:
if i in ret.graph:
ret.graph[i] = ret.graph[i].to_secondary(workers)
if parameters["WORKFORCE"] == "YETI_TIRED":
Expand Down

0 comments on commit aecb831

Please sign in to comment.