Skip to content

Commit

Permalink
Resource uniques are initialized correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 committed Oct 29, 2024
1 parent 65b96d1 commit b88e9ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b88e9ef

Please sign in to comment.