Remove redundant IoC Resolve in EmptyOrWindowValidInTile (#38446)
Remove redundant IoC Resolve in EmptyOrWindowValidInTile
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
|
||||
foreach (var entity in lookupSys.GetEntitiesIntersecting(location, LookupFlags.Approximate | LookupFlags.Static))
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<SharedCanBuildWindowOnTopComponent>(entity))
|
||||
if (entManager.HasComponent<SharedCanBuildWindowOnTopComponent>(entity))
|
||||
result = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user