Refactor UpdateGraph to run after engine services and game scripts

#2413
This commit is contained in:
Wojtek Figat
2024-04-16 20:27:31 +02:00
parent 794b007170
commit 03b498546d

View File

@@ -324,10 +324,12 @@ void Engine::OnUpdate()
// Call event
Update();
UpdateGraph->Execute();
// Update services
EngineService::OnUpdate();
// Run async
UpdateGraph->Execute();
}
void Engine::OnLateUpdate()