mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 12:54:06 -04:00
Players can't move spies when it is not their turn (#11056)
* Players can't move spies when it is not their turn * Inversed the statement to have the proper behavior. * Update core/src/com/unciv/ui/screens/overviewscreen/EspionageOverviewScreen.kt --------- Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
parent
67a7fb7d22
commit
d1b4d31d87
@ -105,7 +105,7 @@ class EspionageOverviewScreen(val civInfo: Civilization, val worldScreen: WorldS
|
||||
)
|
||||
}
|
||||
}
|
||||
if (worldScreen.viewingCiv != civInfo) {
|
||||
if (!worldScreen.canChangeState) {
|
||||
// Spectators aren't allowed to move the spies of the Civs they are viewing
|
||||
moveSpyButton.disable()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user