mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
Fix gaining resources twice when it is gained from a city (#12699)
This commit is contained in:
parent
4428d25bb5
commit
81a85856cb
@ -220,6 +220,7 @@ class City : IsPartOfGameInfoSerialization, INamed {
|
||||
if (!stat.isStockpiled) return
|
||||
if (!stat.isCityWide) civ.gainStockpiledResource(stat.name, amount)
|
||||
else { /*TODO*/ }
|
||||
return
|
||||
}
|
||||
when (stat) {
|
||||
Stat.Production -> cityConstructions.addProductionPoints(amount)
|
||||
|
Loading…
x
Reference in New Issue
Block a user