Remove redundant IoC Resolve in `EmptyOrWindowValidInTile` (#38446)

Remove redundant IoC Resolve in EmptyOrWindowValidInTile
This commit is contained in:
Tayrtahn 2025-06-19 20:02:46 -04:00 committed by GitHub
parent efc4fd05dd
commit bd9d1a53f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}