Remove uses of AllObjectives (#30077)

Remove the uses of AllObjectives
This commit is contained in:
Cojoke
2024-07-16 02:17:18 -05:00
committed by GitHub
parent 911a94dba9
commit 927cf7799f
6 changed files with 8 additions and 8 deletions

View File

@@ -370,7 +370,7 @@ public abstract class SharedMindSystem : EntitySystem
if (Resolve(mindId, ref mind))
{
var query = GetEntityQuery<T>();
foreach (var uid in mind.AllObjectives)
foreach (var uid in mind.Objectives)
{
if (query.TryGetComponent(uid, out objective))
{