aboutsummaryrefslogtreecommitdiff
path: root/src/headless
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless')
-rw-r--r--src/headless/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp
index 23b5c93..ecce333 100644
--- a/src/headless/main.cpp
+++ b/src/headless/main.cpp
@@ -26,8 +26,8 @@ static bool run_headless(Dataloader::path_vector_t const& roots, bool run_tests)
}, nullptr };
Logger::info("===== Loading definitions... =====");
+ ret &= game_manager.set_roots(roots);
ret &= game_manager.load_definitions(
- roots,
[](std::string_view key, Dataloader::locale_t locale, std::string_view localisation) -> bool {
return true;
}