Resolved #4478 - spectator cannot take over player diplomacy options

This commit is contained in:
yairm210 2021-09-04 21:40:30 +03:00
parent 60abae5d1a
commit 48092b09b1

View File

@ -35,7 +35,7 @@ class DiplomacyScreen(val viewingCiv:CivilizationInfo):CameraStageBaseScreen() {
private val leftSideTable = Table().apply { defaults().pad(10f) }
private val rightSideTable = Table()
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.isPlayersTurn
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.canChangeState
init {
onBackButtonClicked { UncivGame.Current.setWorldScreen() }