1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Make -force-scan command run without starting game

reformat object_list_load to use parameter instead of external flag boolean

remove object_list_load_force_scan, call directly from RootCommands
This commit is contained in:
wolfreak99
2016-10-29 09:32:55 -04:00
parent 5cd6c864a5
commit 6ba51e36da
4 changed files with 18 additions and 21 deletions

View File

@@ -190,7 +190,7 @@ extern "C"
// TODO Ideally we want to delay this until we show the title so that we can
// still open the game window and draw a progress screen for the creation
// of the object cache.
objRepo->LoadOrConstruct();
objRepo->LoadOrConstruct(false);
// TODO Like objects, this can take a while if there are a lot of track designs
// its also really something really we might want to do in the background