From 548b1a96d048f9cf846ed3923bc59f4e28f9b799 Mon Sep 17 00:00:00 2001 From: Duan Tao Date: Wed, 11 Sep 2019 14:45:00 +0800 Subject: [PATCH] Fix statue of liberity affect. --- core/src/com/unciv/logic/city/CityStats.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/city/CityStats.kt b/core/src/com/unciv/logic/city/CityStats.kt index f96265d056..c8384e9dd9 100644 --- a/core/src/com/unciv/logic/city/CityStats.kt +++ b/core/src/com/unciv/logic/city/CityStats.kt @@ -228,7 +228,7 @@ class CityStats { if (policies.contains("Commerce Complete")) stats.gold += 1 if (policies.contains("Secularism")) stats.science += 2 - if (cityInfo.containsBuildingUnique("+1 Production from specialists")) + if (cityInfo.civInfo.containsBuildingUnique("+1 Production from specialists")) stats.production += 1 if(cityInfo.civInfo.nation.unique=="+2 Science for all specialists and Great Person tile improvements") stats.science+=2