KirkMcDonald / kirkmcdonald.github.io

Simple web-based calculator for the game Factorio.
Apache License 2.0
547 stars 146 forks source link

FollowUp to #79: empty default module-slots prevent calculation #80

Closed Calibretto22 closed 6 years ago

Calibretto22 commented 6 years ago

When starting a new calculation - without default modules set - the production numbers are not updated after entering a number of factories. And vice versa.

image (no default modules set)

image (default modules are set to speed1)


When having a calculation like above and you remove the default module in settings again, the module setting-copy-buttons don't work: image (no default modules set)


However, if you have set a default module you can copy empty slots: image (default module is set to effectivity2)

I think this could be connected.

NetzwergX commented 6 years ago

Can cornfirm, had the exact same issue. Empty default module in settings completely breaks the calculator.

KirkMcDonald commented 6 years ago

I did a dumb. Fixed in d954fec0251f098fb1753271217b057956c3eb40.

Calibretto22 commented 6 years ago

don't worry. this happens.

i hope the descriptions made it easier to fix. thanks for this great calculator.

NetzwergX commented 6 years ago

Shit happens, don't worry. Thanks for the quick fix. Its a really great tool.