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.Pointing
{
base.OnChangeData(component);
if (component.Deleted)
{
return;
}
if (component.TryGetData<double>(RoguePointingArrowVisuals.Rotation, out var degrees))
{
SetRotation(component, Angle.FromDegrees(degrees));