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

@@ -46,7 +46,7 @@ namespace Content.Server.Flash
private void OnMetaFlagRemoval(EntityUid uid, FlashableComponent component, ref MetaFlagRemoveAttemptEvent args)
{
if (component.LifeStage == ComponentLifeStage.Running)
args.Cancelled = true;
args.ToRemove &= ~MetaDataFlags.EntitySpecific;
}
private void OnFlashableStartup(EntityUid uid, FlashableComponent component, ComponentStartup args)