Remove superfluous opening of MainMenu on replay exit (fixes #110)

This commit is contained in:
Jonas Herzig
2018-02-28 20:16:09 +01:00
parent e508ac40cf
commit 2fa2d2f745

View File

@@ -136,7 +136,6 @@ public class GuiHandler {
if (getGui(event) instanceof GuiIngameMenu && mod.getReplayHandler() != null) {
if (getButton(event).id == BUTTON_EXIT_REPLAY) {
getButton(event).enabled = false;
mc.displayGuiScreen(new GuiMainMenu());
try {
mod.getReplayHandler().endReplay();
} catch (IOException e) {