From f60574941a2f38a2d976bc94d4e575a90545e497 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sat, 29 Jun 2019 22:58:05 +0300 Subject: [PATCH] "Start new game" from Victory screen opens up the new game options, and doesn't auto-start a new game --- core/src/com/unciv/ui/VictoryScreen.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/VictoryScreen.kt b/core/src/com/unciv/ui/VictoryScreen.kt index 6054526a78..4bbd55a5b9 100644 --- a/core/src/com/unciv/ui/VictoryScreen.kt +++ b/core/src/com/unciv/ui/VictoryScreen.kt @@ -75,7 +75,9 @@ class VictoryScreen : PickerScreen() { rightSideButton.setText("Start new game".tr()) rightSideButton.isVisible = true rightSideButton.enable() - rightSideButton.onClick { UnCivGame.Current.startNewGame() } + rightSideButton.onClick { + UnCivGame.Current.screen=NewGameScreen() + } closeButton.setText("One more turn...!".tr()) closeButton.onClick {