mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
Fix #5973: Headless Servers lost the ability to load Scenarios
This commit is contained in:
@@ -577,7 +577,7 @@ namespace OpenRCT2
|
||||
parkImporter.reset(ParkImporter::CreateS6(_objectRepository, _objectManager));
|
||||
}
|
||||
|
||||
auto result = parkImporter->LoadFromStream(stream, false);
|
||||
auto result = parkImporter->LoadFromStream(stream, info.Type == FILE_TYPE::SCENARIO);
|
||||
if (result.Error == PARK_LOAD_ERROR_OK)
|
||||
{
|
||||
parkImporter->Import();
|
||||
|
||||
Reference in New Issue
Block a user