more sb fixes

This commit is contained in:
yugecin 2016-12-11 20:03:28 +01:00
parent f446d29f36
commit 86ebe2ef73
2 changed files with 3 additions and 2 deletions

View File

@ -1551,9 +1551,9 @@ public class Game extends BasicGameState {
Dancer.instance.setGameObjects(gameObjects); Dancer.instance.setGameObjects(gameObjects);
sbOverlay.setGameObjects(gameObjects); sbOverlay.setGameObjects(gameObjects);
sbOverlay.updateIndex(objectIndex);
if (!skippedToCheckpoint) { if (!skippedToCheckpoint) {
sbOverlay.enter(); sbOverlay.enter();
sbOverlay.updateIndex(0);
} }
Pippi.reset(); Pippi.reset();

View File

@ -300,7 +300,8 @@ public class SBOverlay implements OptionsOverlay.Parent {
if (optionsMap[index].size() == 0) { if (optionsMap[index].size() == 0) {
optionsMap[index] = null; optionsMap[index] = null;
} }
reloadSBsettingsToIndex(index); updateIndex(index - 1);
updateIndex(index);
return true; return true;
} }
ypos += lh; ypos += lh;