Remove ISpriteComponent (#13458)

This commit is contained in:
metalgearsloth
2023-01-15 13:38:53 +11:00
committed by GitHub
parent cd10d6fb5e
commit 02aef68dff
40 changed files with 66 additions and 66 deletions

View File

@@ -25,7 +25,7 @@ namespace Content.Client.Light.Visualizers
base.OnChangeData(component);
var entities = IoCManager.Resolve<IEntityManager>();
if (!entities.TryGetComponent(component.Owner, out ISpriteComponent? sprite)) return;
if (!entities.TryGetComponent(component.Owner, out SpriteComponent? sprite)) return;
if (!component.TryGetData(PoweredLightVisuals.BulbState, out PoweredLightState state)) return;
switch (state)