Cleanup: Remove `TelephoneComponent.RequiresPower` (#38823)

* Cleanup

* Forgot about yml
This commit is contained in:
Winkarst-cpu
2025-07-07 18:55:09 +03:00
committed by GitHub
parent b1fb01fed5
commit ae3b3b6173
3 changed files with 2 additions and 8 deletions

View File

@@ -490,6 +490,6 @@ public sealed class TelephoneSystem : SharedTelephoneSystem
public bool IsTelephonePowered(Entity<TelephoneComponent> entity)
{
return this.IsPowered(entity, EntityManager) || !entity.Comp.RequiresPower;
return this.IsPowered(entity, EntityManager);
}
}