[bug+patch] crash when loading with open schedule window
Simutrans crashes if a schedule window is open and a new game is loaded. Here is a patch. I do not know however if this patch causes difficulties at other places. The window-close function mainly called in destructors, so it should not break other things.