"forced" anim attribute finally working

big changes here maybe
This commit is contained in:
⍚~Nex
2024-09-08 16:30:27 +02:00
parent e2c79bea7d
commit ae5fc555a8
8 changed files with 19 additions and 13 deletions
@@ -100,9 +100,9 @@ final class NoteHitEvent extends CancellableEvent {
*/
public var ratingAntialiasing:Bool = true;
/**
* Whenever the animation should be forced to play.
* Whenever the animation should be forced to play (if it's null it will be forced based on the sprite's data xml, if it has one).
*/
public var forceAnim:Bool = true;
public var forceAnim:Null<Bool> = true;
/**
* Prevents the default sing animation from being played.