mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-31 07:09:26 +07:00
Resolved #4209 - AI city-founding no longer plays music
This commit is contained in:
@ -157,7 +157,6 @@ object UnitActions {
|
||||
return UnitAction(UnitActionType.FoundCity, uncivSound = UncivSound.Silent, action = null)
|
||||
|
||||
val foundAction = {
|
||||
Sounds.play(UncivSound.Chimes)
|
||||
UncivGame.Current.settings.addCompletedTutorialTask("Found city")
|
||||
unit.civInfo.addCity(tile.position)
|
||||
if (tile.ruleset.tileImprovements.containsKey("City center"))
|
||||
@ -171,7 +170,7 @@ object UnitActions {
|
||||
|
||||
return UnitAction(
|
||||
type = UnitActionType.FoundCity,
|
||||
uncivSound = UncivSound.Silent,
|
||||
uncivSound = UncivSound.Chimes,
|
||||
action = {
|
||||
// check if we would be breaking a promise
|
||||
val leaders = TestPromiseNotToSettle(unit.civInfo, tile)
|
||||
|
Reference in New Issue
Block a user