fix: post-runnables not called in headless mode
This commit is contained in:
parent
1f47f38256
commit
81a7914599
@ -61,6 +61,7 @@ void ServerMainloop::run() {
|
|||||||
controller->getLevel()->getWorld()->updateTimers(delta);
|
controller->getLevel()->getWorld()->updateTimers(delta);
|
||||||
controller->update(glm::min(delta, 0.2), false);
|
controller->update(glm::min(delta, 0.2), false);
|
||||||
}
|
}
|
||||||
|
engine.postUpdate();
|
||||||
|
|
||||||
if (!coreParams.testMode) {
|
if (!coreParams.testMode) {
|
||||||
auto end = system_clock::now();
|
auto end = system_clock::now();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user