From 2ecf669604dbcacf4fc393c21d86de25954abaee Mon Sep 17 00:00:00 2001 From: Renato Machado Date: Thu, 26 Oct 2023 00:21:17 -0300 Subject: [PATCH] Update dispatcher.cpp --- src/game/scheduling/dispatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/scheduling/dispatcher.cpp b/src/game/scheduling/dispatcher.cpp index c628c96e81a..a87aa10d600 100644 --- a/src/game/scheduling/dispatcher.cpp +++ b/src/game/scheduling/dispatcher.cpp @@ -91,7 +91,7 @@ void Dispatcher::executeEvents(const TaskGroup startGroup) { if (groupId == static_cast(TaskGroup::Serial)) { executeSerialEvents(tasks); - mergeAsyncEvents(); // merge request, as there may be async event requests + mergeAsyncEvents(); } else { executeParallelEvents(tasks, groupId); } @@ -128,7 +128,7 @@ void Dispatcher::executeScheduledEvents() { dispacherContext.reset(); - mergeAsyncEvents(); // merge events requested by scheduled events + mergeAsyncEvents(); // merge async events requested by scheduled events executeEvents(TaskGroup::GenericParallel); // execute async events requested by scheduled events }