mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58: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 {
|
get {
|
||||||
if (this.isDirty) {
|
if (this.isDirty) {
|
||||||
this.isDirty = false;
|
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();
|
this.FindAnimationToPlay();
|
||||||
}
|
}
|
||||||
return this.currAnimation;
|
return this.currAnimation;
|
||||||
|
|
Loading…
Reference in a new issue