mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix Tracks Manager crash on closing the tracks list
This commit is contained in:
committed by
GitHub
parent
2e063e6df8
commit
af78bbb448
@@ -262,7 +262,8 @@ public:
|
||||
// try to load the track manager again, and an infinite loop will result.
|
||||
if ((gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER) && gScreenAge != 0)
|
||||
{
|
||||
Close();
|
||||
window_close_by_number(WC_MANAGE_TRACK_DESIGN, number);
|
||||
window_close_by_number(WC_TRACK_DELETE_PROMPT, number);
|
||||
Editor::LoadTrackManager();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user