Skip to content

Commit bde783e

Browse files
committed
e
1 parent c6d5623 commit bde783e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/states/freeplay/OsuFreeplayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ class OsuFreeplayState extends MusicBeatState
855855
var week:WeekData = WeekData.weeksLoaded.get(WeekData.weeksList[FreeplayManager.songList[i].week]);
856856
Difficulty.loadFromWeek(week);
857857

858-
if (FreeplayManager.songList[i].songName == FreeplayManager.songList[curSelected].songName) {
858+
if (FreeplayManager.songList[i].songName == FreeplayManager.songList[songBoxGrp.members[curSelected].songID].songName)
859859
trace(songName);
860860
trueInt = i+1;
861861
for (j in 0...Difficulty.list.length)

source/states/freeplay/osu/SongBox.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package states.freeplay.osu;
33
class SongBox extends FlxSprite
44
{
55
public var posY:Float = 0;
6-
public var songID:Int = 0;
6+
public var songID:Int = -1;
77

88
override function update(elapsed:Float):Void {
99
var targetY = FlxMath.lerp(y, (FlxG.height - height) / 2 + posY * 82, CoolUtil.boundTo(elapsed * 9, 0, 1));

0 commit comments

Comments
 (0)