From 2d793f8f4772a5aa1f5154fd61bd3af08f981873 Mon Sep 17 00:00:00 2001 From: Skekdog <47750815+Skekdog@users.noreply.github.com> Date: Sat, 25 Mar 2023 18:35:18 +0000 Subject: [PATCH] City-state music plays when first meeting them (#9026) --- core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt b/core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt index 1716549e19..4f466d5d04 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/AlertPopup.kt @@ -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 -> {