diff --git a/OpenDreamClient/Rendering/DreamIcon.cs b/OpenDreamClient/Rendering/DreamIcon.cs index 053171a48c..d8e2f89f5f 100644 --- a/OpenDreamClient/Rendering/DreamIcon.cs +++ b/OpenDreamClient/Rendering/DreamIcon.cs @@ -47,7 +47,7 @@ private set { private int _animationFrame; private TimeSpan _animationFrameTime = gameTiming.CurTime; private List? _appearanceAnimations; - private int _appearanceAnimationsLoops = 0; + private int _appearanceAnimationsLoops; private Box2? _cachedAABB; public DreamIcon(IGameTiming gameTiming, ClientAppearanceSystem appearanceSystem, int appearanceId, @@ -90,8 +90,6 @@ public void StartAppearanceAnimation(IconAppearance endingAppearance, TimeSpan d start = _appearanceAnimations[^1].Start + _appearanceAnimations[^1].Duration; //if it's not parallel, it's chained _appearanceAnimations ??= new List(); - if(_appearanceAnimations.Count == 0) {//only valid on the first animation - Logger.Debug("setting loops to {0}", loops); _appearanceAnimationsLoops = loops; }