You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07: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