mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
Fix "National Wonder is being built elsewhere" not displayed (#4284)
This commit is contained in:
parent
d4efc7d679
commit
b628c4238d
@ -245,7 +245,7 @@ class Building : NamedStats(), IConstruction {
|
|||||||
return rejectionReason == ""
|
return rejectionReason == ""
|
||||||
|| rejectionReason.startsWith("Requires")
|
|| rejectionReason.startsWith("Requires")
|
||||||
|| rejectionReason.startsWith("Consumes")
|
|| rejectionReason.startsWith("Consumes")
|
||||||
|| rejectionReason == "Wonder is being built elsewhere"
|
|| rejectionReason.endsWith("Wonder is being built elsewhere")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getRejectionReason(construction: CityConstructions): String {
|
fun getRejectionReason(construction: CityConstructions): String {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user