diff --git a/flixel/group/FlxSpriteGroup.hx b/flixel/group/FlxSpriteGroup.hx index 8b1223424f..a5e6153797 100644 --- a/flixel/group/FlxSpriteGroup.hx +++ b/flixel/group/FlxSpriteGroup.hx @@ -358,7 +358,7 @@ class FlxTypedSpriteGroup extends FlxSprite sprite.x -= x; sprite.y -= y; // alpha - sprite._cameras = null; + sprite.cameras = null; return group.remove(sprite, splice); } @@ -1066,7 +1066,7 @@ class FlxTypedSpriteGroup extends FlxSprite Sprite.camera = Camera; inline function camerasTransform(Sprite:FlxSprite, Cameras:Array) - Sprite._cameras = Cameras; + Sprite.cameras = Cameras; inline function offsetTransform(Sprite:FlxSprite, Offset:FlxPoint) Sprite.offset.copyFrom(Offset); diff --git a/flixel/ui/FlxButton.hx b/flixel/ui/FlxButton.hx index dd2bdc1f63..bbf991b869 100644 --- a/flixel/ui/FlxButton.hx +++ b/flixel/ui/FlxButton.hx @@ -354,7 +354,7 @@ class FlxTypedButton extends FlxSprite implements IFlxInput if (_spriteLabel != null && _spriteLabel.visible) { - _spriteLabel._cameras = _cameras; + _spriteLabel.cameras = _cameras; _spriteLabel.draw(); } }