Skip to content

Commit

Permalink
weeks highscore bugfix
Browse files Browse the repository at this point in the history
how did no one notice😭
  • Loading branch information
NexIsDumb committed Sep 1, 2024
1 parent e749a0e commit 6021bd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/funkin/game/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class PlayState extends MusicBeatState
* Speed at which the game camera zoom lerps to.
*/
public var camGameZoomLerp:Float = 0.05;

/**
* Camera zoom at which the hud lerps to.
*/
Expand Down
6 changes: 3 additions & 3 deletions source/funkin/menus/StoryMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class StoryMenuState extends MusicBeatState {
}
}

intendedScore = FunkinSave.getWeekHighscore(weeks[curWeek].name, weeks[curWeek].difficulties[curDifficulty]).score;
intendedScore = FunkinSave.getWeekHighscore(weeks[curWeek].id, weeks[curWeek].difficulties[curDifficulty]).score;
}

public function loadXMLs() {
Expand Down Expand Up @@ -344,8 +344,8 @@ class StoryMenuState extends MusicBeatState {
}

typedef WeekData = {
var name:String;
var id:String;
var name:String; // name SHOULD NOT be used for loading week highscores, its just the name on the right side of the week, remember that next time!! - Nex
var id:String; // id IS instead for saving and loading!! - Nex
var sprite:String;
var chars:Array<String>;
var songs:Array<WeekSong>;
Expand Down

0 comments on commit 6021bd3

Please sign in to comment.