Page 1 of 1

[0.11.13] crash with invalid control.lua when restarting

Posted: Thu Jan 22, 2015 5:49 pm
by prg
Create a new scenario with a valid (e.g. empty) control.lua. Start playing that scenario.
Put gibberish into the control.lua while still ingame.
ESC -> Restart
A dialog box complaining about a syntax error or whatever is displayed. Click OK.
You're left with the main menu background without any menu. Resize the window.
segfault
If the control.lua already contains garbage when creating a new game from the main menu, the same dialog box is displayed but clicking OK gets you back to the new game dialog without a segfault.

Re: [0.11.13] crash with invalid control.lua when restarting

Posted: Thu Jan 29, 2015 5:53 pm
by kovarex
Thanks for the report, the problem is now fixed for 0.11.14