Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -122,7 +122,7 @@ namespace Content.Server.Solar.EntitySystems
|
||||
private void UpdatePanelCoverage(Entity<SolarPanelComponent> panel)
|
||||
{
|
||||
var entity = panel.Owner;
|
||||
var xform = EntityManager.GetComponent<TransformComponent>(entity);
|
||||
var xform = Comp<TransformComponent>(entity);
|
||||
|
||||
// So apparently, and yes, I *did* only find this out later,
|
||||
// this is just a really fancy way of saying "Lambert's law of cosines".
|
||||
|
||||
Reference in New Issue
Block a user