From c15168a2c6ab89430dfe6442c6b4518150500848 Mon Sep 17 00:00:00 2001 From: yugecin Date: Thu, 22 Jun 2017 12:10:02 +0200 Subject: [PATCH] option menu: fix section being filtered when they shouldn't --- src/yugecin/opsudance/ui/OptionsOverlay.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlay.java index 6d987b8d..9532ac12 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -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;