mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 22:22:51 +07:00
Fixed completing the "Found city" tutorial by AI (#8579)
This commit is contained in:
parent
a9903ad0f5
commit
0e84291476
@ -182,7 +182,8 @@ object UnitActions {
|
||||
return UnitAction(UnitActionType.FoundCity, action = null)
|
||||
|
||||
val foundAction = {
|
||||
UncivGame.Current.settings.addCompletedTutorialTask("Found city")
|
||||
if (unit.civ.playerType != PlayerType.AI)
|
||||
UncivGame.Current.settings.addCompletedTutorialTask("Found city")
|
||||
unit.civ.addCity(tile.position)
|
||||
if (tile.ruleset.tileImprovements.containsKey("City center"))
|
||||
tile.changeImprovement("City center")
|
||||
|
Loading…
Reference in New Issue
Block a user