"Start new game" from Victory screen opens up the new game options, and doesn't auto-start a new game

This commit is contained in:
Yair Morgenstern 2019-06-29 22:58:05 +03:00
parent e921833580
commit f60574941a

View file

@ -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 {