Flash immunity examine visibility toggle (#40848)
This commit is contained in:
@@ -268,6 +268,7 @@ public abstract class SharedFlashSystem : EntitySystem
|
||||
|
||||
private void OnExamine(Entity<FlashImmunityComponent> ent, ref ExaminedEvent args)
|
||||
{
|
||||
args.PushMarkup(Loc.GetString("flash-protection"));
|
||||
if (ent.Comp.ShowInExamine)
|
||||
args.PushMarkup(Loc.GetString("flash-protection"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user