Clicking the Back button when on diplomacy screen returns you to the world screen

This commit is contained in:
Yair Morgenstern 2018-08-16 08:53:34 +03:00
parent b1e17a67c6
commit 1affaa38c2

View File

@ -11,6 +11,7 @@ class DiplomacyScreen():CameraStageBaseScreen(){
val rightSideTable = Table()
init{
onBackButtonClicked { UnCivGame.Current.setWorldScreen(); dispose() }
val splitPane = SplitPane(ScrollPane(leftSideTable),rightSideTable,false, skin)
splitPane.setSplitAmount(0.2f)