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)
|
if (effect.AppliedTo is null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var meta = MetaData(ent);
|
PredictedQueueDel(ent);
|
||||||
if (meta.EntityPrototype is null)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
TryRemoveStatusEffect(effect.AppliedTo.Value, meta.EntityPrototype);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user