aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
author Nemrav <50055236+Nemrav@users.noreply.github.com>2024-08-03 21:38:25 +0200
committer GitHub <noreply@github.com>2024-08-03 21:38:25 +0200
commitadc7eb8ad07170ba8da18f684321a92d01447c2c (patch)
treeeedd074580ff5a81b4eff4b8bc43163b7cf59f0e /src/headless/main.cpp
parent1f42a6255226b79d271df5060a8391f4ea00fc0a (diff)
parent0b4732befaaf4a742acb319256c535eb449668a7 (diff)
Merge pull request #181 from OpenVicProject/sim_music
Music and Sound Effect define loading
Diffstat (limited to 'src/headless/main.cpp')
-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;
}