Small Status Effect Cleanup (#39944)
Heroic Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
65bffbebf1
commit
4797c0fe06
@@ -55,11 +55,7 @@ public sealed partial class StatusEffectsSystem : EntitySystem
|
||||
if (effect.AppliedTo is null)
|
||||
continue;
|
||||
|
||||
var meta = MetaData(ent);
|
||||
if (meta.EntityPrototype is null)
|
||||
continue;
|
||||
|
||||
TryRemoveStatusEffect(effect.AppliedTo.Value, meta.EntityPrototype);
|
||||
PredictedQueueDel(ent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user