1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix editor progression issues (#23511)

Partial revert of #23487
This commit is contained in:
Aaron van Geffen
2024-12-31 00:45:01 +01:00
committed by GitHub
parent 23d4032eed
commit 752f169acf

View File

@@ -227,12 +227,6 @@ void WindowSetWindowLimit(int32_t value)
*/
void WindowClose(WindowBase& w)
{
if (!w.CanClose())
{
// Something's preventing this window from closing -- bail out early
return;
}
w.OnClose();
// Remove viewport