mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Resolved #4478 - spectator cannot take over player diplomacy options
This commit is contained in:
parent
60abae5d1a
commit
48092b09b1
@ -35,7 +35,7 @@ class DiplomacyScreen(val viewingCiv:CivilizationInfo):CameraStageBaseScreen() {
|
|||||||
private val leftSideTable = Table().apply { defaults().pad(10f) }
|
private val leftSideTable = Table().apply { defaults().pad(10f) }
|
||||||
private val rightSideTable = Table()
|
private val rightSideTable = Table()
|
||||||
|
|
||||||
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.isPlayersTurn
|
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.canChangeState
|
||||||
|
|
||||||
init {
|
init {
|
||||||
onBackButtonClicked { UncivGame.Current.setWorldScreen() }
|
onBackButtonClicked { UncivGame.Current.setWorldScreen() }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user