This commit is contained in:
yugecin
2016-12-11 19:24:01 +01:00
parent dce918208b
commit 1660c4f3d7

View File

@@ -270,7 +270,7 @@ public class SBOverlay implements OptionsOverlay.Parent {
if (index >= optionsMap.length) { if (index >= optionsMap.length) {
return; return;
} }
for (; this.index < index; this.index++) { for (; this.index <= index; this.index++) {
HashMap options = optionsMap[this.index]; HashMap options = optionsMap[this.index];
if (options == null) { if (options == null) {
continue; continue;
@@ -281,6 +281,7 @@ public class SBOverlay implements OptionsOverlay.Parent {
readOption(next.getKey()); readOption(next.getKey());
} }
} }
this.index--;
} }
public boolean mouseReleased(int button, int x, int y) { public boolean mouseReleased(int button, int x, int y) {