1) Create a mod an write something stupid in the onsave-event. E.g. I used this for testing-purpose:
Code: Select all
a = "test"
b=1
c=b/a
3) game will crash "softly" - Errormessage will appear which specify the error
4) exit factorio/ return to main-menu and try to load a save-game
--> I will receive a "Content title"-error after I hit the load-game button, because factorio can not find the savefile in which you tried to save before. So the load-UI is not shown at all and factorio is closed.
I have to delete the related savefile and everything is fine again.