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) {
|
public void loadCheckpoint(int checkpoint) {
|
||||||
try {
|
try {
|
||||||
restart = Restart.MANUAL;
|
restart = Restart.MANUAL;
|
||||||
enter(container, game);
|
|
||||||
checkpointLoaded = true;
|
checkpointLoaded = true;
|
||||||
|
enter(container, game);
|
||||||
if (isLeadIn()) {
|
if (isLeadIn()) {
|
||||||
leadInTime = 0;
|
leadInTime = 0;
|
||||||
epiImgTime = 0;
|
epiImgTime = 0;
|
||||||
|
@ -1546,7 +1546,7 @@ public class Game extends BasicGameState {
|
||||||
|
|
||||||
Dancer.instance.setGameObjects(gameObjects);
|
Dancer.instance.setGameObjects(gameObjects);
|
||||||
sbOverlay.setGameObjects(gameObjects);
|
sbOverlay.setGameObjects(gameObjects);
|
||||||
if (!checkpointLoaded) {
|
if (restart != Restart.FALSE) {
|
||||||
sbOverlay.enter();
|
sbOverlay.enter();
|
||||||
sbOverlay.updateIndex(0);
|
sbOverlay.updateIndex(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user