From c92d3bf01830e502e39d3f6d8fe17254bee9b185 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 2 May 2024 23:11:53 +0200 Subject: [PATCH] Fix loading editor from command line --- src/openrct2/Context.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index 65b8e49a46..653dc0a0b6 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -981,10 +981,11 @@ namespace OpenRCT2 Editor::Load(); return GetGameScene(); } - else if (!Editor::LoadLandscape(gOpenRCT2StartupActionPath)) + else if (Editor::LoadLandscape(gOpenRCT2StartupActionPath)) { - return GetTitleScene(); + return GetGameScene(); } + [[fallthrough]]; } default: {