aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:27:33 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-13 20:27:33 +0100
commite7d9c28c509588d627169568776d40fc5752698f (patch)
tree3756113dec31a0212f426ff9fe0189ddeda42b25 /src/crepe/api
parent70c1cd14ec4c4aca185d5a7e4a3749169f6425f4 (diff)
multiple bug/feature fixes
Diffstat (limited to 'src/crepe/api')
-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 a76c167..1baa21d 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();
}