fix speed resetting when skipping objects using sb

This commit is contained in:
yugecin 2016-12-11 14:41:09 +01:00
parent 642baf1081
commit 7309399fd5

View File

@ -311,8 +311,8 @@ public class Game extends BasicGameState {
public void loadCheckpoint(int checkpoint) {
try {
restart = Restart.MANUAL;
enter(container, game);
checkpointLoaded = true;
enter(container, game);
if (isLeadIn()) {
leadInTime = 0;
epiImgTime = 0;
@ -1546,7 +1546,7 @@ public class Game extends BasicGameState {
Dancer.instance.setGameObjects(gameObjects);
sbOverlay.setGameObjects(gameObjects);
if (!checkpointLoaded) {
if (restart != Restart.FALSE) {
sbOverlay.enter();
sbOverlay.updateIndex(0);
}