Fixed bug with watching replays on "Auto" counting as retries.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
8a7b67b578
commit
2d7a4a3eab
|
@ -1271,11 +1271,13 @@ public class Game extends BasicGameState {
|
|||
loadImages();
|
||||
setMapModifiers();
|
||||
retries = 0;
|
||||
} else if (restart == Restart.MANUAL) {
|
||||
} else if (restart == Restart.MANUAL && !GameMod.AUTO.isActive()) {
|
||||
// retry
|
||||
retries++;
|
||||
} else if (restart == Restart.REPLAY)
|
||||
} else if (restart == Restart.REPLAY || GameMod.AUTO.isActive()) {
|
||||
// replay
|
||||
retries = 0;
|
||||
}
|
||||
|
||||
gameObjects = new GameObject[beatmap.objects.length];
|
||||
playbackSpeed = PlaybackSpeed.NORMAL;
|
||||
|
@ -1580,6 +1582,7 @@ public class Game extends BasicGameState {
|
|||
autoMousePosition = new Vec2f();
|
||||
autoMousePressed = false;
|
||||
flashlightRadius = container.getHeight() * 2 / 3;
|
||||
scoreboardStarStream.clear();
|
||||
|
||||
System.gc();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user