mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 05:09:25 +07:00
Resolved #1307 - you no longer get a notification when conneccting to the cities of other Civs
New notification when cities have disconnected from your capital
This commit is contained in:
@ -703,6 +703,9 @@
|
||||
Russian:"От города [cityName] был проложен путь к столице!"
|
||||
}
|
||||
|
||||
"[cityName] has been disconnected from your capital!":{
|
||||
}
|
||||
|
||||
// Trade
|
||||
"[civName] has accepted your trade request":{
|
||||
Italian:"[civName] ha accettato la nostra offerta commerciale."
|
||||
|
@ -21,7 +21,7 @@ android {
|
||||
applicationId "com.unciv.app"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 29
|
||||
versionCode 321
|
||||
versionCode 322
|
||||
versionName "3.2.0-patch1"
|
||||
}
|
||||
|
||||
|
@ -136,8 +136,12 @@ class CivInfoTransientUpdater(val civInfo: CivilizationInfo){
|
||||
|
||||
if(!initialSetup){ // In the initial setup we're loading an old game state, so it doesn't really count
|
||||
for(city in citiesReachedToMediums.keys)
|
||||
if(city !in civInfo.citiesConnectedToCapital)
|
||||
if(city !in civInfo.citiesConnectedToCapital && city.civInfo == civInfo)
|
||||
civInfo.addNotification("[${city.name}] has been connected to your capital!",city.location, Color.GOLD)
|
||||
|
||||
for(city in civInfo.citiesConnectedToCapital)
|
||||
if(!citiesReachedToMediums.containsKey(city) && city.civInfo==civInfo)
|
||||
civInfo.addNotification("[${city.name}] has been disconnected from your capital!",city.location, Color.GOLD)
|
||||
}
|
||||
|
||||
civInfo.citiesConnectedToCapital = citiesReachedToMediums.keys.toList()
|
||||
|
Reference in New Issue
Block a user