mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-05 05:47:27 +00:00
Small Status Effect Cleanup (#39944)
Heroic Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
co-authored by
Princess Cheeseballs
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