Use Window iterate instead of from front/back when no order required
This commit is contained in:
@@ -527,7 +527,7 @@ static void ShutdownGame()
|
||||
static void LoadIntroGame(bool load_newgrfs = true)
|
||||
{
|
||||
UnshowCriticalError();
|
||||
for (Window *w : Window::IterateFromFront()) {
|
||||
for (Window *w : Window::Iterate()) {
|
||||
w->Close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user