mirror of https://github.com/OpenTTD/OpenTTD
Fix #10274: Use after free when rescanning scripts with GS selected
parent
f6e7e44169
commit
d4c530904c
|
@ -199,6 +199,7 @@
|
||||||
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
InvalidateWindowData(WC_AI_LIST, 0, 1);
|
||||||
SetWindowClassesDirty(WC_AI_DEBUG);
|
SetWindowClassesDirty(WC_AI_DEBUG);
|
||||||
InvalidateWindowClassesData(WC_AI_SETTINGS);
|
InvalidateWindowClassesData(WC_AI_SETTINGS);
|
||||||
|
InvalidateWindowClassesData(WC_GAME_OPTIONS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue