1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01: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 { 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;