mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 22:59:12 +07:00
City-state music plays when first meeting them (#9026)
This commit is contained in:
parent
09cff6e55f
commit
2d793f8f47
@ -92,13 +92,13 @@ class AlertPopup(val worldScreen: WorldScreen, val popupAlert: PopupAlert): Popu
|
||||
val civInfo = worldScreen.gameInfo.getCivilization(popupAlert.value)
|
||||
val nation = civInfo.nation
|
||||
addLeaderName(civInfo)
|
||||
music.chooseTrack(civInfo.civName, MusicMood.themeOrPeace, MusicTrackChooserFlags.setSpecific)
|
||||
if (civInfo.isCityState()) {
|
||||
addGoodSizedLabel("We have encountered the City-State of [${nation.name}]!").row()
|
||||
add(getCloseButton("Excellent!"))
|
||||
} else {
|
||||
addGoodSizedLabel(nation.introduction).row()
|
||||
add(getCloseButton("A pleasure to meet you."))
|
||||
music.chooseTrack(civInfo.civName, MusicMood.themeOrPeace, MusicTrackChooserFlags.setSpecific)
|
||||
}
|
||||
}
|
||||
AlertType.CityConquered -> {
|
||||
|
Loading…
Reference in New Issue
Block a user