option menu: fix section being filtered when they shouldn't

This commit is contained in:
yugecin 2017-06-22 12:10:02 +02:00
parent 7a51828102
commit c15168a2c6

View File

@ -1069,9 +1069,7 @@ public class OptionsOverlay extends OverlayOpsuState {
if (section.options == null) {
lastBigSectionMatches = sectionMatches;
lastBigSection = section;
if (!lastBigSectionMatches) {
section.filtered = true;
}
section.filtered = !lastBigSectionMatches;
continue;
}
section.filtered = true;