Fix buttons in replay settings toggling twice

This commit is contained in:
johni0702
2015-06-30 18:08:45 +02:00
parent bd47bdeeb6
commit 8bf1731345

View File

@@ -113,10 +113,6 @@ public class GuiReplaySettings extends GuiScreen {
this.mc.displayGuiScreen(this.parentGuiScreen); this.mc.displayGuiScreen(this.parentGuiScreen);
break; break;
} }
if(button instanceof GuiToggleButton) {
((GuiToggleButton) button).toggle();
}
} }
} }
} }