diff --git a/distribution/changelog.txt b/distribution/changelog.txt index bd3d18761c..3cbbb6d1ae 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -27,6 +27,7 @@ - Change: [#16424] Following an entity in the title sequence no longer toggles underground view when it's underground. - Change: [#16493] Boat Hire and Submarine Ride support costs now match their visual appearance. - Fix: [#11752] Track pieces with fractional cost are too cheap to build. +- Fix: [#12774] [Plugin] Scripts will not be re-initialised when a new scenario is loaded from within a running scenario. - Fix: [#13336] Can no longer place Bumble Bee track design (reverts #12707). - Fix: [#14155] Map Generator sometimes places non-tree objects as trees. - Fix: [#14674] Recent Messages only shows first few notifications. diff --git a/src/openrct2-ui/windows/TopToolbar.cpp b/src/openrct2-ui/windows/TopToolbar.cpp index 55900a3939..7b544ecaaf 100644 --- a/src/openrct2-ui/windows/TopToolbar.cpp +++ b/src/openrct2-ui/windows/TopToolbar.cpp @@ -531,6 +531,7 @@ static void WindowTopToolbarScenarioselectCallback(const utf8* path) { window_close_by_class(WC_EDITOR_OBJECT_SELECTION); GetContext()->LoadParkFromFile(path, false, true); + game_load_scripts(); } /** diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index f97fb504c9..0fae96f0e3 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -650,6 +650,7 @@ namespace OpenRCT2 // so reload the title screen if that happens. loadTitleScreenFirstOnFail = true; + game_unload_scripts(); _objectManager->LoadObjects(result.RequiredObjects); parkImporter->Import(); gScenarioSavePath = path;