Resolved #2033 - happiness from tiles is always considered correctly in regards to food consumption
This commit is contained in:
parent
78dab67257
commit
9721fb66c0
1 changed files with 1 additions and 3 deletions
|
@ -4,7 +4,6 @@ import com.unciv.Constants
|
|||
import com.unciv.UncivGame
|
||||
import com.unciv.logic.civilization.CityStateType
|
||||
import com.unciv.logic.civilization.diplomacy.RelationshipLevel
|
||||
import com.unciv.logic.map.BFS
|
||||
import com.unciv.logic.map.RoadStatus
|
||||
import com.unciv.models.ruleset.Building
|
||||
import com.unciv.models.ruleset.unit.BaseUnit
|
||||
|
@ -222,8 +221,7 @@ class CityStats {
|
|||
if (civInfo.containsBuildingUnique("+1 happiness in each city"))
|
||||
newHappinessList["Wonders"] = 1f
|
||||
|
||||
if (baseStatList.containsKey("Tile yields"))
|
||||
newHappinessList["Tile yields"] = baseStatList["Tile yields"]!!.happiness
|
||||
newHappinessList["Tile yields"] = getStatsFromTiles().happiness
|
||||
|
||||
// we don't want to modify the existing happiness list because that leads
|
||||
// to concurrency problems if we iterate on it while changing
|
||||
|
|
Loading…
Reference in a new issue