Fix a few warnings (#11576)
This commit is contained in:
@@ -11,7 +11,8 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
public bool Condition(EntityUid user, EntityCoordinates location, Direction direction)
|
||||
{
|
||||
var tagSystem = EntitySystem.Get<TagSystem>();
|
||||
var tagSystem = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<TagSystem>();
|
||||
|
||||
foreach (var entity in location.GetEntitiesInTile(LookupFlags.Approximate | LookupFlags.Anchored))
|
||||
{
|
||||
if (tagSystem.HasTag(entity, "Window"))
|
||||
|
||||
Reference in New Issue
Block a user