Пару изменений (#468)

* fix: Двери больше нельзя моментально открыть голыми руками

* add: Несколько целевой пинпоинтер для оперативников синдиката

* add: Боеголовка синдиката
This commit is contained in:
Spatison
2024-07-20 05:33:14 +03:00
committed by GitHub
parent 0dff5a3f79
commit 88a09bea71
15 changed files with 295 additions and 105 deletions

View File

@@ -8,7 +8,7 @@ using Content.Shared.IdentityManagement;
namespace Content.Server.Pinpointer;
public sealed class PinpointerSystem : SharedPinpointerSystem
public sealed partial class PinpointerSystem : SharedPinpointerSystem
{
[Dependency] private readonly SharedTransformSystem _transform = default!;
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
@@ -18,6 +18,8 @@ public sealed class PinpointerSystem : SharedPinpointerSystem
public override void Initialize()
{
base.Initialize();
InitializeMultiplePinpointer(); // WD EDIT
_xformQuery = GetEntityQuery<TransformComponent>();
SubscribeLocalEvent<PinpointerComponent, ActivateInWorldEvent>(OnActivate);