[0.11.22] Crash deleting mined entity in onrobotpremined
Posted: Fri Jun 26, 2015 9:49 am
Factorio will crash if you delete the mined entity In the callback for the onrobotpremined event. I'm attaching a mod to demonstrate the bug; just start a new game with this and Factorio should crash.
Normally I'm reticent to report issues caused by my modding mistakes, but Rseding91 advocated reporting crashes regardless of cause. (in case you're wondering, I was trying to do things like swap out certain resources with other types when mined sufficiently, or conditionally prevent the mining from yielding resources)
Normally I'm reticent to report issues caused by my modding mistakes, but Rseding91 advocated reporting crashes regardless of cause. (in case you're wondering, I was trying to do things like swap out certain resources with other types when mined sufficiently, or conditionally prevent the mining from yielding resources)