diff --git a/source/game/Character.hx b/source/game/Character.hx index 7f08c9c51c..23d85086fb 100644 --- a/source/game/Character.hx +++ b/source/game/Character.hx @@ -283,7 +283,7 @@ class Character extends FlxSprite { barColor = FlxColor.fromRGB(config.barColor[0], config.barColor[1], config.barColor[2]); var localKeyCount; - if(FlxG.state = new PlayState()){ + if(FlxG.state == new PlayState()){ localKeyCount = isPlayer ? PlayState.SONG.playerKeyCount : PlayState.SONG.keyCount; } else{ diff --git a/source/modding/ModchartUtilities.hx b/source/modding/ModchartUtilities.hx index f851c8b91b..50b289a21b 100644 --- a/source/modding/ModchartUtilities.hx +++ b/source/modding/ModchartUtilities.hx @@ -1288,6 +1288,7 @@ class ModchartUtilities { setLuaFunction("setRenderedNoteScaleX", function(scale:Float, id:Int) { PlayState.instance.notes.members[id].scale.x = scale; }); + setLuaFunction("setRenderedNoteScaleY", function(scale:Float, id:Int) { PlayState.instance.notes.members[id].scale.y = scale; });