mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Fix national wonders 'building elsewhere' tip.
This commit is contained in:
parent
84cdac119d
commit
720b3546eb
@ -218,7 +218,7 @@ class Building : NamedStats(), IConstruction{
|
||||
|
||||
if (civInfo.cities.any {it.cityConstructions.isBuilt(name) })
|
||||
return "Wonder is already built"
|
||||
if (civInfo.cities.any {it.cityConstructions.isBeingConstructed(name) })
|
||||
if (civInfo.cities.any {it!=construction.cityInfo && it.cityConstructions.isBeingConstructed(name) })
|
||||
return "Wonder is being built elsewhere"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user