fix speed resetting when skipping objects using sb
This commit is contained in:
parent
642baf1081
commit
7309399fd5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user