diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
commit | 7a07c56d572a6f30d0aa611bd566197bc04c3b33 (patch) | |
tree | 75a5c234c48dad5c35d4773409bd6efcd4514dc3 /src/crepe/system/ScriptSystem.cpp | |
parent | 63bce3dd21c82e2b4e45c07934d5a26684cdaa93 (diff) |
add more documentation to Mediator + fix system mediator useloek/scripts
Diffstat (limited to 'src/crepe/system/ScriptSystem.cpp')
-rw-r--r-- | src/crepe/system/ScriptSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/ScriptSystem.cpp b/src/crepe/system/ScriptSystem.cpp index 7ecbe78..2e16eb0 100644 --- a/src/crepe/system/ScriptSystem.cpp +++ b/src/crepe/system/ScriptSystem.cpp @@ -10,7 +10,7 @@ using namespace crepe; void ScriptSystem::update() { dbg_trace(); - ComponentManager & mgr = this->component_manager; + ComponentManager & mgr = this->mediator.component_manager; RefVector<BehaviorScript> behavior_scripts = mgr.get_components_by_type<BehaviorScript>(); for (BehaviorScript & behavior_script : behavior_scripts) { |