Page 1 of 1

[2.1.14] Assigning number to shared probability does not cause a crash on load.

Posted: Thu Aug 06, 2026 6:50 pm
by MeteorSwarm
A recent update to Cerys accidentally applied a number to the shared_probability field, and because the game did not crash on seeing this field, the update was pushed to the portal. This seems like an error that the game would be capable of catching on load to stop errors like these from being made in the future.

https://mods.factorio.com/mod/Cerys-Moo ... 3de1cc37a5

https://github.com/danielmartin0/Cerys- ... ap.lua#L81
08-06-2026, 11-47-40.png
08-06-2026, 11-47-40.png (268.49 KiB) Viewed 224 times

Re: [2.1.14] Assigning number to shared probability does not cause a crash on load.

Posted: Thu Aug 06, 2026 7:58 pm
by boskid
Ok, for 2.1.15 i made shared_probability to throw error when it is given a non-table.