Content update for fixture changes (#5524)

This commit is contained in:
metalgearsloth
2021-12-01 13:05:08 +11:00
committed by GitHub
parent c2f2d27b16
commit 0a843b671f
108 changed files with 1023 additions and 829 deletions

View File

@@ -66,6 +66,11 @@ namespace Content.Server.Power.EntitySystems
foreach (var receiver in receivers)
{
// No point resetting what the receiver is doing if it's deleting, plus significant perf savings
// in not doing needless lookups
if (EntityManager.GetComponent<MetaDataComponent>(receiver.OwnerUid).EntityLifeStage >
EntityLifeStage.MapInitialized) continue;
TryFindAndSetProvider(receiver);
}
}