mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #5767: Importing AA/LL SC4s causes a crash
This commit is contained in:
parent
dd2ab63b26
commit
aec214c684
|
@ -2670,7 +2670,7 @@ extern "C"
|
|||
auto s4Importer = std::make_unique<S4Importer>();
|
||||
try
|
||||
{
|
||||
result = new ParkLoadResult(s4Importer->LoadSavedGame(path));
|
||||
result = new ParkLoadResult(s4Importer->LoadScenario(path));
|
||||
if (result->Error == PARK_LOAD_ERROR_OK)
|
||||
{
|
||||
s4Importer->Import();
|
||||
|
|
Loading…
Reference in New Issue