mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07: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 rightSideTable = Table()
|
||||
|
||||
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.isPlayersTurn
|
||||
private fun isNotPlayersTurn() = !UncivGame.Current.worldScreen.canChangeState
|
||||
|
||||
init {
|
||||
onBackButtonClicked { UncivGame.Current.setWorldScreen() }
|
||||
|
Loading…
Reference in New Issue
Block a user