Skip to content

Commit

Permalink
charter bg
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Dec 6, 2023
1 parent 1d5ba1c commit 3b18d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions source/tools/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ class ChartingState extends MusicBeatState {
var menuBG:FlxSprite;

if(Options.getData("menuBGs"))
if (!Assets.exists(Paths.image('ui skins/' + ui_Skin + '/backgrounds' + '/menuDesat')))
menuBG = new FlxSprite().loadGraphic(Paths.image('ui skins/default/backgrounds/menuDesat'));
if (!Assets.exists(Paths.image('ui skins/' + ui_Skin + '/backgrounds' + '/menuCharter')))
menuBG = new FlxSprite().loadGraphic(Paths.image('ui skins/default/backgrounds/menuCharter'));
else
menuBG = new FlxSprite().loadGraphic(Paths.image('ui skins/' + ui_Skin + '/backgrounds' + '/menuDesat'));
menuBG = new FlxSprite().loadGraphic(Paths.image('ui skins/' + ui_Skin + '/backgrounds' + '/menuCharter'));
else
menuBG = new FlxSprite().makeGraphic(1286, 730, FlxColor.BLACK, false, "optimizedMenuDesat");
menuBG = new FlxSprite().makeGraphic(1286, 730, FlxColor.BLACK, false, "optimizedMenuCharter");

menuBG.updateHitbox();
menuBG.screenCenter();
Expand Down

0 comments on commit 3b18d72

Please sign in to comment.