Skip to content

Commit

Permalink
Update dispatcher.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Oct 26, 2023
1 parent bd6f54b commit 2ecf669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/scheduling/dispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void Dispatcher::executeEvents(const TaskGroup startGroup) {

if (groupId == static_cast<uint8_t>(TaskGroup::Serial)) {
executeSerialEvents(tasks);
mergeAsyncEvents(); // merge request, as there may be async event requests
mergeAsyncEvents();
} else {
executeParallelEvents(tasks, groupId);
}
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 2ecf669

Please sign in to comment.