From b628c4238d7755d44d94d9e72b3c20734f3051d5 Mon Sep 17 00:00:00 2001 From: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Date: Sat, 26 Jun 2021 22:35:23 +0200 Subject: [PATCH] Fix "National Wonder is being built elsewhere" not displayed (#4284) --- core/src/com/unciv/models/ruleset/Building.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/models/ruleset/Building.kt b/core/src/com/unciv/models/ruleset/Building.kt index 2ae1d885fe..cd0ee4d0ff 100644 --- a/core/src/com/unciv/models/ruleset/Building.kt +++ b/core/src/com/unciv/models/ruleset/Building.kt @@ -245,7 +245,7 @@ class Building : NamedStats(), IConstruction { return rejectionReason == "" || rejectionReason.startsWith("Requires") || rejectionReason.startsWith("Consumes") - || rejectionReason == "Wonder is being built elsewhere" + || rejectionReason.endsWith("Wonder is being built elsewhere") } fun getRejectionReason(construction: CityConstructions): String {