Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealJake12 committed Jan 16, 2024
2 parents 6c204ba + aa40256 commit 37e8932
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,8 @@ class PlayState extends MusicBeatState
+ misses, iconRPC);
#end

barImage = Paths.image('healthBar', 'shared');

// Setup The Cameras.
camGame = new SwagCamera();
camHUD = new FlxCamera();
Expand Down Expand Up @@ -1314,9 +1316,7 @@ class PlayState extends MusicBeatState

function createBar()
{
barImage = Paths.image('healthBar', 'shared');

healthBarBG = new FlxSprite(0, FlxG.height * 0.9).loadGraphic(Paths.image('healthBar'));
healthBarBG = new FlxSprite(0, FlxG.height * 0.9).loadGraphic(barImage);
if (PlayStateChangeables.useDownscroll)
healthBarBG.y = 50;
healthBarBG.screenCenter(X);
Expand Down

0 comments on commit 37e8932

Please sign in to comment.