1
0
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:
Ted John
2017-07-23 11:14:39 +01:00
parent 47a89c4cf3
commit 34096627ac

View File

@@ -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();