diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-25 17:28:41 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-25 17:28:41 +0500 |
| commit | b5bb4c7b345a3e344658cf9235962dfa524c5be1 (patch) | |
| tree | 9961ef5bd6844f27449d83ee7e73ae5392047e68 /core/src/kz/ilotterytea/maxon/ui | |
| parent | 488168dc69be22e0c1a529d77892260033807a43 (diff) | |
upd: removed welcome screen
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/ui')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java index 245e11f..2d12f86 100644 --- a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java +++ b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java @@ -1,6 +1,5 @@ package kz.ilotterytea.maxon.ui; -import com.badlogic.gdx.Screen; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.scenes.scene2d.Action; @@ -15,7 +14,6 @@ import kz.ilotterytea.maxon.MaxonGame; import kz.ilotterytea.maxon.localization.LineId; import kz.ilotterytea.maxon.player.Savegame; import kz.ilotterytea.maxon.screens.game.GameScreen; -import kz.ilotterytea.maxon.screens.WelcomeScreen; import kz.ilotterytea.maxon.utils.OsUtils; import kz.ilotterytea.maxon.utils.formatters.NumberFormatter; @@ -178,15 +176,7 @@ public class SavegameWidget extends Table implements Disposable { new Action() { @Override public boolean act(float delta) { - Screen screen; - - if (savegame.isNewlyCreated()) { - screen = new WelcomeScreen(); - } else { - screen = new GameScreen(); - } - - game.setScreen(screen); + game.setScreen(new GameScreen()); return true; } } |
