Skip to content

Commit

Permalink
fix da syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Dec 10, 2023
1 parent f3e751b commit 66ec9a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/game/Character.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
1 change: 1 addition & 0 deletions source/modding/ModchartUtilities.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 66ec9a3

Please sign in to comment.