mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 14:38:34 +01:00
fixed animation group sorting being off
This commit is contained in:
parent
00e0ef8bc6
commit
57fcc66054
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ namespace MLEM.Animations {
|
|||
get {
|
||||
if (this.isDirty) {
|
||||
this.isDirty = false;
|
||||
this.animations.Sort((a1, a2) => a1.Priority.CompareTo(a2.Priority));
|
||||
this.animations.Sort((a1, a2) => a2.Priority.CompareTo(a1.Priority));
|
||||
this.FindAnimationToPlay();
|
||||
}
|
||||
return this.currAnimation;
|
||||
|
|
Loading…
Reference in a new issue