Merge remote-tracking branch 'upstream/stable' into ed-upstream-sync
# Conflicts: # Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs
This commit is contained in:
@@ -385,7 +385,7 @@ public abstract partial class SharedMindSystem : EntitySystem
|
||||
|
||||
// garbage collection - only delete the objective entity if no mind uses it anymore
|
||||
// This comes up for stuff like paradox clones where the objectives share the same entity
|
||||
var mindQuery = new AllEntityQueryEnumerator<MindComponent>();
|
||||
var mindQuery = AllEntityQuery<MindComponent>();
|
||||
while (mindQuery.MoveNext(out _, out var queryComp))
|
||||
{
|
||||
if (queryComp.Objectives.Contains(objective))
|
||||
|
||||
Reference in New Issue
Block a user