diff --git a/Core/bottypes/AnimationsBot.cs b/Core/bottypes/AnimationsBot.cs index a79a0a6..a0405b6 100644 --- a/Core/bottypes/AnimationsBot.cs +++ b/Core/bottypes/AnimationsBot.cs @@ -19,13 +19,14 @@ namespace BSB.bottypes } public override void ResetAnimations() - { + { + List copyAnyimations = active_animations; + foreach (UUID ani in copyAnyimations) + { + Client.Self.AnimationStop(ani, true); + } lock (active_animations) { - foreach (UUID ani in active_animations) - { - Client.Self.AnimationStop(ani, true); - } active_animations.Clear(); } }