mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-15 03:31:44 +01:00
Add metadata flags to actions component (#6922)
This commit is contained in:
@@ -44,8 +44,8 @@ namespace Content.Server.Flash
|
||||
|
||||
private void OnMetaFlagRemoval(EntityUid uid, FlashableComponent component, ref MetaFlagRemoveAttemptEvent args)
|
||||
{
|
||||
if (component.LifeStage > ComponentLifeStage.Initialized) return;
|
||||
args.Cancelled = true;
|
||||
if (component.LifeStage == ComponentLifeStage.Running)
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
private void OnFlashableStartup(EntityUid uid, FlashableComponent component, ComponentStartup args)
|
||||
|
||||
Reference in New Issue
Block a user