Code: Select all
script.on_load(function()
breakme()
end)
Now start a new game and while still in game load the broken save. Dismiss the error message, click "back" in the "load game" dialog. You're now looking at the in game menu in front of the main menu background. Clicking "resume" takes you to the main menu. Clicking instead "restart -> ok", "save game" or "quit game" crashes Factorio.
crash when clicking save game