fix more aiob
This commit is contained in:
parent
6f083d47da
commit
0268d325d1
|
@ -152,7 +152,7 @@ public class SBOverlay {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void goBackOneSBIndex() {
|
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..
|
// new options on previous index, so to revert then we have to reload them all to this point..
|
||||||
final int thisIndex = index;
|
final int thisIndex = index;
|
||||||
for (int i = 0; i <= thisIndex; i++) {
|
for (int i = 0; i <= thisIndex; i++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user