mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Fixed bug where gold from rivers wasn't doubled during golden ages (#4462)
This commit is contained in:
parent
0c916e85fb
commit
74b3db5927
@ -260,11 +260,11 @@ open class TileInfo {
|
|||||||
if (stats.production < 1) stats.production = 1f
|
if (stats.production < 1) stats.production = 1f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isAdjacentToRiver()) stats.gold++
|
||||||
|
|
||||||
if (stats.gold != 0f && observingCiv.goldenAges.isGoldenAge())
|
if (stats.gold != 0f && observingCiv.goldenAges.isGoldenAge())
|
||||||
stats.gold++
|
stats.gold++
|
||||||
|
|
||||||
if (isAdjacentToRiver()) stats.gold++
|
|
||||||
|
|
||||||
if (stats.production < 0) stats.production = 0f
|
if (stats.production < 0) stats.production = 0f
|
||||||
|
|
||||||
return stats
|
return stats
|
||||||
|
Loading…
x
Reference in New Issue
Block a user