Ghosts can now always see examine details (#29404)

* Ghosts can now always see examine details

This means they bypass range and occlusion checks for getting extra detail, like the charge on an SMES.

* EntityQuery
This commit is contained in:
Pieter-Jan Briers
2024-06-24 17:36:52 +02:00
committed by GitHub
parent d9506ce3a6
commit e7bcb270e4
2 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
using Content.Shared.Ghost;
using Content.Shared.Verbs;
using Robust.Shared.Utility;
@@ -14,6 +15,8 @@ namespace Content.Shared.Examine
base.Initialize();
SubscribeLocalEvent<GroupExamineComponent, GetVerbsEvent<ExamineVerb>>(OnGroupExamineVerb);
_ghostQuery = GetEntityQuery<GhostComponent>();
}
/// <summary>