fix: post-runnables not called in headless mode

This commit is contained in:
MihailRis 2024-12-31 15:02:27 +03:00
parent 1f47f38256
commit 81a7914599

View File

@ -61,6 +61,7 @@ void ServerMainloop::run() {
controller->getLevel()->getWorld()->updateTimers(delta);
controller->update(glm::min(delta, 0.2), false);
}
engine.postUpdate();
if (!coreParams.testMode) {
auto end = system_clock::now();