1.18.2 Map corrupts when placing Generator-Cable-Battery-Cable-Frame Motor
al1-ce opened this issue ยท 4 comments
Describe the bug
As title
To Reproduce
As title
Expected behavior
No crash
Crash Log (Expires in one month)
Sorry, can't do screenshots, almost immediately restored from backup and kinda afraid to replicate bug
And about perquisites, battery was already charged for some amount and generator had dust in it
Caused by a negative power storage value in your battery box. No idea what causes this issue. I've applied a temporary fix which will reset the battery box's power storage value to zero when this issue is detected to prevent the crash. Unfortunately since I can't reproduce this, I can't yet fix the actual issue causing the storage value to become negative in the first place.