fix lantern visualizer animation error (#4800)

* fix lantern-visualizer

* remove deleted check

* Remove other component.Deleted checks
This commit is contained in:
Leon Friedrich
2021-10-21 12:45:46 +11:00
committed by GitHub
parent 6dccd0667f
commit 339982d05b
7 changed files with 3 additions and 29 deletions

View File

@@ -15,11 +15,6 @@ namespace Content.Client.Light.Visualizers
{
base.OnChangeData(component);
if (component.Deleted)
{
return;
}
if (component.TryGetData(ExpendableLightVisuals.Behavior, out string lightBehaviourID))
{
if (component.Owner.TryGetComponent<LightBehaviourComponent>(out var lightBehaviour))