Skip to content

Commit

Permalink
Update Character.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Dec 8, 2023
1 parent 0bd35ad commit f3e751b
Showing 1 changed file with 1 addition 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(PlayState.SONG.playerKeyCount != null && PlayState.SONG.keyCount != null ){
if(FlxG.state = new PlayState()){
localKeyCount = isPlayer ? PlayState.SONG.playerKeyCount : PlayState.SONG.keyCount;
}
else{
Expand Down

0 comments on commit f3e751b

Please sign in to comment.