Cleanup + Fixes

This commit is contained in:
NeeEoo
2023-07-27 11:37:18 +02:00
parent c4fd398b09
commit d17243b102
14 changed files with 66 additions and 41 deletions
+1 -2
View File
@@ -14,8 +14,7 @@ class ModSwitchMenu extends MusicBeatSubstate {
public override function create() {
super.create();
var bg = new FlxSprite(0, 0).makeGraphic(1, 1, 0xFF000000);
bg.scale.set(FlxG.width, FlxG.height);
var bg = new FlxSprite(0, 0).makeSolid(FlxG.width, FlxG.height, 0xFF000000);
bg.updateHitbox();
bg.scrollFactor.set();
add(bg);