diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:05:54 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:05:54 +0100 |
commit | ed90fde01c38b878645bb68d3aa7353349f3b300 (patch) | |
tree | 6284bf3163134137791f7687b0473ecdeefc5960 /src/crepe/system | |
parent | 45f1f18c78e73280a8a861df2db6237bae6f6d80 (diff) |
enable eventsystem during replay playback
Diffstat (limited to 'src/crepe/system')
-rw-r--r-- | src/crepe/system/ReplaySystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/system/ReplaySystem.cpp b/src/crepe/system/ReplaySystem.cpp index 39b5c14..2b2e4ab 100644 --- a/src/crepe/system/ReplaySystem.cpp +++ b/src/crepe/system/ReplaySystem.cpp @@ -3,6 +3,7 @@ #include "RenderSystem.h" #include "ReplaySystem.h" +#include "EventSystem.h" using namespace crepe; using namespace std; @@ -40,6 +41,7 @@ void ReplaySystem::playback_begin() { systems.disable_all(); systems.get_system<RenderSystem>().active = true; systems.get_system<ReplaySystem>().active = true; + systems.get_system<EventSystem>().active = true; } void ReplaySystem::playback_end() { |