Fix use after free when rescanning scripts with GS selected
See: #465 https://github.com/OpenTTD/OpenTTD/issues/10274
This commit is contained in:
		@@ -196,6 +196,7 @@
 | 
			
		||||
	InvalidateWindowData(WC_AI_LIST, 0, 1);
 | 
			
		||||
	SetWindowClassesDirty(WC_AI_DEBUG);
 | 
			
		||||
	InvalidateWindowClassesData(WC_AI_SETTINGS);
 | 
			
		||||
	InvalidateWindowClassesData(WC_GAME_OPTIONS);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user