Content changes for InContainer flag (#7003)

This commit is contained in:
Leon Friedrich
2022-03-31 15:28:36 +13:00
committed by GitHub
parent 07f5c10154
commit a11e8b676c
5 changed files with 8 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ public abstract class AlertsSystem : EntitySystem
private void OnMetaFlagRemoval(EntityUid uid, AlertsComponent component, ref MetaFlagRemoveAttemptEvent args)
{
if (component.LifeStage == ComponentLifeStage.Running)
args.Cancelled = true;
args.ToRemove &= ~MetaDataFlags.EntitySpecific;
}
private void OnCanGetState(EntityUid uid, AlertsComponent component, ref ComponentGetStateAttemptEvent args)