mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
Fixed AutoPlay not working after victory (#10885)
This commit is contained in:
parent
7a4113554c
commit
87ee874f4b
@ -398,7 +398,7 @@ class GameInfo : IsPartOfGameInfoSerialization, HasGameInfoSerializationVersion
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Do we need to stop AutoPlay?
|
// Do we need to stop AutoPlay?
|
||||||
if (UncivGame.Current.settings.autoPlay.isAutoPlaying() && player.victoryManager.hasWon())
|
if (UncivGame.Current.settings.autoPlay.isAutoPlaying() && player.victoryManager.hasWon() && !oneMoreTurnMode)
|
||||||
UncivGame.Current.settings.autoPlay.stopAutoPlay()
|
UncivGame.Current.settings.autoPlay.stopAutoPlay()
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user