adjust the locking for animations maybe fix the bug?
This commit is contained in:
parent
57526c862c
commit
496831e428
1 changed files with 6 additions and 5 deletions
|
|
@ -19,13 +19,14 @@ namespace BSB.bottypes
|
|||
}
|
||||
|
||||
public override void ResetAnimations()
|
||||
{
|
||||
{
|
||||
List<UUID> 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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue