ECS tags (#6504)
This commit is contained in:
@@ -28,6 +28,7 @@ namespace Content.Client.Verbs
|
||||
{
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly ExamineSystem _examineSystem = default!;
|
||||
[Dependency] private readonly TagSystem _tagSystem = default!;
|
||||
[Dependency] private readonly IStateManager _stateManager = default!;
|
||||
[Dependency] private readonly IEntityLookup _entityLookup = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
@@ -147,7 +148,7 @@ namespace Content.Client.Verbs
|
||||
continue;
|
||||
}
|
||||
|
||||
if (entity.HasTag("HideContextMenu"))
|
||||
if (_tagSystem.HasTag(entity, "HideContextMenu"))
|
||||
entities.Remove(entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user