Misc. bugfixes

This commit is contained in:
Matteo Signer
2016-04-04 10:59:50 +02:00
parent 4b76d2c3cf
commit d7c980e0a4
3 changed files with 17 additions and 3 deletions

View File

@@ -1210,7 +1210,7 @@ public class Game extends BasicGameState {
if (beatmap == null || beatmap.objects == null)
throw new RuntimeException("Running game with no beatmap loaded.");
// fetch previous results
previousScores = ScoreDB.getMapScores(beatmap);
previousScores = ScoreDB.getMapScores(beatmap, replay == null ? null : replay.getReplayFilename());
lastRankUpdateTime = -1000;
if (previousScores != null)
currentRank = previousScores.length;