1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-23 13:20:06 +02:00

fixed animation group sorting being off

This commit is contained in:
Ellpeck 2020-01-02 21:48:02 +01:00
parent 00e0ef8bc6
commit 57fcc66054

View file

@ -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;