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 committed 2018-10-23 22:07:06 +01:00
1 parent e5eb61d38d
commit 83ce76fb3f
1 file changed
+1
+1
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();