1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Do not load images when running scan-objects

This prevents CI spitting out warnings where it is unable to load any of the DAT objects.
This commit is contained in:
Ted John
2018-10-23 22:07:06 +01:00
parent e5eb61d38d
commit 83ce76fb3f

View File

@@ -401,6 +401,7 @@ static exitcode_t HandleCommandScanObjects([[maybe_unused]] CommandLineArgEnumer
}
gOpenRCT2Headless = true;
gOpenRCT2NoGraphics = true;
auto context = std::unique_ptr<OpenRCT2::IContext>(OpenRCT2::CreateContext());
auto env = context->GetPlatformEnvironment();