a simple redirect so old mods wont break that badly (#879)
* Update FunkinSprite.hx * remove trace
This commit is contained in:
@@ -59,6 +59,9 @@ class FunkinSprite extends FlxAnimate implements IBeatReceiver implements IOffse
|
||||
public var animEnabled:Bool = true;
|
||||
public var zoomFactorEnabled:Bool = true;
|
||||
|
||||
//Backwards compatibility
|
||||
public var animateAtlas(get, never):FunkinSprite;
|
||||
|
||||
public var globalCurFrame(get, set):Int;
|
||||
|
||||
/**
|
||||
@@ -367,6 +370,11 @@ class FunkinSprite extends FlxAnimate implements IBeatReceiver implements IOffse
|
||||
return beatInterval = v;
|
||||
}
|
||||
|
||||
@:noCompletion
|
||||
@:deprecated("`FunkinSprite.animateAtlas` is deprecated, just use `FunkinSprite` instead")
|
||||
public function get_animateAtlas():FunkinSprite
|
||||
return isAnimate ? this : null;
|
||||
|
||||
@:noCompletion private inline function get_globalCurFrame()
|
||||
return animation.curAnim?.curFrame ?? 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user