From ed90fde01c38b878645bb68d3aa7353349f3b300 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 12 Dec 2024 19:05:54 +0100 Subject: enable eventsystem during replay playback --- src/crepe/system/ReplaySystem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/crepe/system/ReplaySystem.cpp') 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().active = true; systems.get_system().active = true; + systems.get_system().active = true; } void ReplaySystem::playback_end() { -- cgit v1.2.3