fix sboverlay showcondition

This commit is contained in:
yugecin 2016-12-04 14:05:18 +01:00
parent 7459dd66d0
commit 22146e1ac6

View File

@ -104,8 +104,7 @@ public class OptionsOverlay {
if (!options[i].showCondition()) {
continue;
}
j++;
drawOption(g, options[j], j, selectedOption == null ? hoverIdx == j : selectedOption == options[j]);
drawOption(g, options[i], j++, selectedOption == null ? hoverIdx == i : selectedOption == options[i]);
}
if (list.isVisible()) {
list.render(container, game, g);