forked from rosebudai/OpenRCT2-Web
Fix Tracks Manager crash on closing the tracks list
This commit is contained in:
1 parent
2e063e6df8
commit
af78bbb448
1 file changed
+2
-1
@@ -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