mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-13 11:30:31 +07:00
Resource uniques are initialized correctly
This commit is contained in:
parent
65b96d16ce
commit
b88e9ef116
@ -359,7 +359,7 @@ class CivInfoTransientCache(val civInfo: Civilization) {
|
||||
val summarizedResourceSupply = newDetailedCivResources.sumByResource("All")
|
||||
|
||||
val newResourceUniqueMap = UniqueMap()
|
||||
for (resource in civInfo.summarizedCivResourceSupply)
|
||||
for (resource in summarizedResourceSupply)
|
||||
if (resource.amount > 0)
|
||||
newResourceUniqueMap.addUniques(resource.resource.uniqueObjects)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user