DEADSOFTWARE

Fix 'Load game' button
authorfred-boy <fred-boy@protonmail.com>
Tue, 24 Apr 2018 19:14:36 +0000 (02:14 +0700)
committerfred-boy <fred-boy@protonmail.com>
Tue, 24 Apr 2018 19:14:36 +0000 (02:14 +0700)
core/src/ru/deadsoftware/cavecraft/GameScreen.java

index 6d4f4d985cb5acc8d735a0283dd1d9edffcb5805..37dc45e9a438fb415510d1d241ce5af1ad1c0c98 100644 (file)
@@ -73,6 +73,7 @@ public class GameScreen implements Screen {
                 break;
 
             case GOTO_MENU:
+                menuRenderer = new MenuRenderer(CaveGame.TOUCH?320:480);
                 renderer = menuRenderer;
                 Gdx.input.setInputProcessor(new InputHandlerMenu(menuRenderer));
                 break;