aaghh
This commit is contained in:
@@ -123,9 +123,6 @@ class FreeplayState extends MusicBeatState
|
||||
}
|
||||
}
|
||||
|
||||
updateCurDifficulties();
|
||||
updateCurSong();
|
||||
|
||||
if (curSong != null) {
|
||||
for(k=>diff in curDifficulties) {
|
||||
if (diff == Options.freeplayLastDifficulty) {
|
||||
@@ -134,6 +131,9 @@ class FreeplayState extends MusicBeatState
|
||||
}
|
||||
}
|
||||
|
||||
updateCurDifficulties();
|
||||
updateCurSong();
|
||||
|
||||
DiscordUtil.call("onMenuLoaded", ["Freeplay"]);
|
||||
|
||||
super.create();
|
||||
@@ -182,12 +182,11 @@ class FreeplayState extends MusicBeatState
|
||||
|
||||
coopText = new FlxText(diffText.x, diffText.y + diffText.height + 2, 0, "", 24);
|
||||
coopText.font = scoreText.font;
|
||||
coopText.visible = curSong.coopAllowed || curSong.opponentModeAllowed;
|
||||
add(coopText);
|
||||
|
||||
add(scoreText);
|
||||
|
||||
changeDiff(0, true);
|
||||
changeSelection(0, true);
|
||||
changeCoopMode(0, true);
|
||||
|
||||
interpColor = new FlxInterpolateColor(bg.color);
|
||||
@@ -382,7 +381,7 @@ class FreeplayState extends MusicBeatState
|
||||
updateScore();
|
||||
|
||||
#if PRELOAD_ALL
|
||||
if (curSong != prevSong || force) {
|
||||
if (curSong != prevSong) {
|
||||
autoplayElapsed = 0;
|
||||
songInstPlaying = false;
|
||||
}
|
||||
@@ -470,6 +469,11 @@ class FreeplayState extends MusicBeatState
|
||||
|
||||
changeDiff(0, true);
|
||||
|
||||
#if PRELOAD_ALL
|
||||
autoplayElapsed = 0;
|
||||
songInstPlaying = false;
|
||||
#end
|
||||
|
||||
coopText.visible = curSong.coopAllowed || curSong.opponentModeAllowed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user