aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:29:04 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:29:04 +0100
commitd5904cb53bb7cc3a33894cb30746433b724f5634 (patch)
tree3aee399759a9063094b3c46bbdeb82894cb92ece /src/crepe
parente7d9c28c509588d627169568776d40fc5752698f (diff)
reset loop
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/api/LoopManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index 1baa21d..a76c167 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -35,9 +35,9 @@ void LoopManager::set_running(bool running) { this->game_running = running; }
void LoopManager::fixed_update() {
// TODO: retrieve EventManager from direct member after singleton refactor
- this->get_system<ScriptSystem>().update();
EventManager & ev = this->mediator.event_manager;
ev.dispatch_events();
+ this->get_system<ScriptSystem>().update();
this->get_system<PhysicsSystem>().update();
this->get_system<CollisionSystem>().update();
}