troelsbjerre / Bottleneck

Factorio mod that tell you which assemblers are starved of ingredients
Other
26 stars 21 forks source link

Fix crash on initial machine build #65

Closed Roang-zero1 closed 4 years ago

Roang-zero1 commented 4 years ago

I've fixed a bug I introduced during the update where the mod will crash on initial machine build if the status is not found (will have to debug a bit more if this is an edgecase bug in the base game).

cmears commented 4 years ago

I ran into this problem after upgrading to 0.11.0. I think the problem is some inconsistency with saved settings such that STYLE ends up empty. I worked around it by disabling the mod, loading/saving the game, then re-enabling the mod.