Change TaskGraphSystem ordering

This commit is contained in:
Wojtek Figat
2021-06-15 23:48:35 +02:00
parent d2d8a83461
commit bf70a42d86
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ namespace
{
bool SortTaskGraphSystem(TaskGraphSystem* const& a, TaskGraphSystem* const& b)
{
return b->Order < a->Order;
return b->Order > a->Order;
};
}

View File

@@ -19,7 +19,7 @@ private:
public:
/// <summary>
/// The execution order of the system (systems with higher order are executed earlier).
/// The execution order of the system (systems with higher order are executed later, lower first).
/// </summary>
API_FIELD() int32 Order = 0;