fix more aiob

This commit is contained in:
yugecin 2016-11-13 04:06:52 +01:00
parent 6f083d47da
commit 0268d325d1

View File

@ -152,7 +152,7 @@ public class SBOverlay {
}
private void goBackOneSBIndex() {
if (optionsMap[index + 1] != null) {
if (index + 1 < optionsMap.length && optionsMap[index + 1] != null) {
// new options on previous index, so to revert then we have to reload them all to this point..
final int thisIndex = index;
for (int i = 0; i <= thisIndex; i++) {