mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Resolved #11950 - Rome/Babylon capital takeover no longer renames like city state
This commit is contained in:
parent
eaaf588144
commit
904f7f3af6
@ -976,7 +976,7 @@ class Civilization : IsPartOfGameInfoSerialization {
|
|||||||
// Slight "Easter egg": see #11486: In the rare case a City-state loses their last city but it's not their original capital, the notification names the Nation which confuses players.
|
// Slight "Easter egg": see #11486: In the rare case a City-state loses their last city but it's not their original capital, the notification names the Nation which confuses players.
|
||||||
// Rename the newly conquered city when the conquering Nation's first-city name is equal to the nation name (meaning Babylon too) and the civ has lost that...
|
// Rename the newly conquered city when the conquering Nation's first-city name is equal to the nation name (meaning Babylon too) and the civ has lost that...
|
||||||
val currentCapital = getCapital()
|
val currentCapital = getCapital()
|
||||||
if (currentCapital != null && currentCapital.isOriginalCapital && civName == currentCapital.name)
|
if (isCityState && currentCapital != null && currentCapital.isOriginalCapital && civName == currentCapital.name)
|
||||||
newCapital.name = "New [${civName}]\n(formerly known as [${newCapital.name}])"
|
newCapital.name = "New [${civName}]\n(formerly known as [${newCapital.name}])"
|
||||||
|
|
||||||
moveCapitalTo(newCapital, oldCapital)
|
moveCapitalTo(newCapital, oldCapital)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user