Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
ed06a8b0ac
commit
0d92d79ed7
|
@ -81,7 +81,7 @@ public class BeatmapDifficultyCalculator {
|
|||
*/
|
||||
public BeatmapDifficultyCalculator(Beatmap beatmap) {
|
||||
this.beatmap = beatmap;
|
||||
if (beatmap.timingPoints == null)
|
||||
if (beatmap.breaks == null)
|
||||
BeatmapDB.load(beatmap, BeatmapDB.LOAD_ARRAY);
|
||||
BeatmapParser.parseHitObjects(beatmap);
|
||||
}
|
||||
|
|
|
@ -1532,7 +1532,7 @@ public class Game extends BasicGameState {
|
|||
public void loadBeatmap(Beatmap beatmap) {
|
||||
this.beatmap = beatmap;
|
||||
Display.setTitle(String.format("%s - %s", game.getTitle(), beatmap.toString()));
|
||||
if (beatmap.timingPoints == null)
|
||||
if (beatmap.breaks == null)
|
||||
BeatmapDB.load(beatmap, BeatmapDB.LOAD_ARRAY);
|
||||
BeatmapParser.parseHitObjects(beatmap);
|
||||
HitSound.setDefaultSampleSet(beatmap.sampleSet);
|
||||
|
|
Loading…
Reference in New Issue
Block a user