fix emitter examining (#13369)
This commit is contained in:
@@ -12,7 +12,7 @@ public abstract partial class SharedGunSystem
|
||||
{
|
||||
private void OnExamine(EntityUid uid, GunComponent component, ExaminedEvent args)
|
||||
{
|
||||
if (!args.IsInDetailsRange)
|
||||
if (!args.IsInDetailsRange || !component.ShowExamineText)
|
||||
return;
|
||||
|
||||
args.PushMarkup(Loc.GetString("gun-selected-mode-examine", ("color", ModeExamineColor), ("mode", GetLocSelector(component.SelectedMode))));
|
||||
|
||||
Reference in New Issue
Block a user