Skip to content

Commit

Permalink
meow
Browse files Browse the repository at this point in the history
  • Loading branch information
x8c8r committed Jul 22, 2024
1 parent 45fe111 commit bbe11cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ class Main extends Sprite

addChild(new FlxGame(gameWidth, gameHeight, initialState, framerate, framerate, skipSplash, startFullscreen));

SaveManagement.init();

#if !mobile
addChild(new FPS(10, 3, 0xFFFFFF));
#end
Expand Down
3 changes: 2 additions & 1 deletion source/SaveManagement.hx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import Controls.KeyboardScheme;
import flixel.FlxG;

using StringTools;

class SaveManagement {
public static function init() {
public static function init(controls:Controls) {
// Songs
if (FlxG.save.data.unlockedSongs == null) // shhhhhhh
FlxG.save.data.unlockedSongs = [];
Expand Down
1 change: 1 addition & 0 deletions source/TitleState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class TitleState extends MusicBeatState
#end

PlayerSettings.init();
SaveManagement.init(controls);

curWacky = FlxG.random.getObject(getIntroTextShit());

Expand Down

0 comments on commit bbe11cc

Please sign in to comment.