fix back button

Make it immune to the "do not hover if options visible" hack.
Make the states render it, not the options menu.
This commit is contained in:
yugecin
2018-07-08 10:58:00 +02:00
parent 70902e42cb
commit ab6aa75f8b
7 changed files with 17 additions and 9 deletions

View File

@@ -481,6 +481,9 @@ public class MainMenu extends BaseOpsuState {
@Override
public void preRenderUpdate() {
optionsOverlay.preRenderUpdate();
if (optionsOverlay.isActive()) {
backButton.hoverUpdate();
}
int delta = renderDelta;