diff options
author | hop311 <hop3114@gmail.com> | 2024-09-06 22:12:10 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-09-06 22:12:10 +0200 |
commit | 34c8b1039a5a7982a84c718ca8625efcd940bbf5 (patch) | |
tree | 479bddfb6a01b2627118ee2b71adea4105fe8718 /src/headless | |
parent | 429765a8cdc93cc8975d2676d04cb628c21064a4 (diff) |
Trigger gamestate update in headless mode + add `update_clock` functionsupdate-clock
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp index ecce333..fcb5e8d 100644 --- a/src/headless/main.cpp +++ b/src/headless/main.cpp @@ -49,6 +49,9 @@ static bool run_headless(Dataloader::path_vector_t const& roots, bool run_tests) Logger::info("===== Starting game session... ====="); ret &= game_manager.start_game_session(); + // This triggers a gamestate update + ret &= game_manager.update_clock(); + return ret; } |