Closed Xevion closed 1 week ago
Apparently, any negative number typed in the box is an instant crash, so... yeah.
Not that I have much knowledge of Factorio modding, Lua programming or can really judge, but shouldn't a lot of these functions be validating input properly? This feels like something I would account for in my own projects naturally. Maybe if I'm making a comment like this, perhaps I should be willing to contribute though...
Thanks for the report. This whole thing is kind of tricky on the backend, and the validation needs to be done manually in a sense. I missed the negative part. Will have a look at fixing it.
Fixed for the next release.
Problem Description
I was editing the Beacon amount to test the mathematical expression evaluations (because I can't type floats, because not all my refineries get an equal amount of beacons), and somehow typed something that crashed it.
The last thing I had typed in the box was 18-21.
factorio-current.log
Reproduction
No response