From 83ce76fb3f620598f4a38d6f34cf18f7305d1cfb Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 23 Oct 2018 22:07:06 +0100 Subject: [PATCH] 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. --- src/openrct2/cmdline/RootCommands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openrct2/cmdline/RootCommands.cpp b/src/openrct2/cmdline/RootCommands.cpp index 142625744b..2221adc4d6 100644 --- a/src/openrct2/cmdline/RootCommands.cpp +++ b/src/openrct2/cmdline/RootCommands.cpp @@ -401,6 +401,7 @@ static exitcode_t HandleCommandScanObjects([[maybe_unused]] CommandLineArgEnumer } gOpenRCT2Headless = true; + gOpenRCT2NoGraphics = true; auto context = std::unique_ptr(OpenRCT2::CreateContext()); auto env = context->GetPlatformEnvironment();