From 03b498546d62ac4f741f418c54926fe700168d12 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 16 Apr 2024 20:27:31 +0200 Subject: [PATCH] Refactor `UpdateGraph` to run after engine services and game scripts #2413 --- Source/Engine/Engine/Engine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Engine/Engine/Engine.cpp b/Source/Engine/Engine/Engine.cpp index ffd6386ad..27b35a0b7 100644 --- a/Source/Engine/Engine/Engine.cpp +++ b/Source/Engine/Engine/Engine.cpp @@ -324,10 +324,12 @@ void Engine::OnUpdate() // Call event Update(); - UpdateGraph->Execute(); // Update services EngineService::OnUpdate(); + + // Run async + UpdateGraph->Execute(); } void Engine::OnLateUpdate()