mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01: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…
Reference in New Issue
Block a user