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:
committed by
GitHub
parent
d9506ce3a6
commit
e7bcb270e4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user