File tree 1 file changed +2
-2
lines changed
core/src/com/unciv/logic/map/tile
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,8 +314,8 @@ class TileImprovementFunctions(val tile: Tile) {
314
314
var stats = Stats ()
315
315
for (unique in tile.getTerrainMatchingUniques(UniqueType .ProductionBonusWhenRemoved )) {
316
316
stats.add(unique.stats)
317
- if (stats.isEmpty()) return
318
317
}
318
+ if (stats.isEmpty()) return
319
319
val ruleset = civ.gameInfo.ruleset
320
320
val choppingYieldsIncreaseWithGameProgress =
321
321
ruleset.modOptions.constants.choppingYieldsIncreaseWithGameProgress
@@ -328,7 +328,7 @@ class TileImprovementFunctions(val tile: Tile) {
328
328
stats * = (1 + 9 * gameProgress)
329
329
}
330
330
if (distance > 5 ) stats * = 0
331
- else if (distance != 1 ) stats * = (6 - distance) / 4
331
+ else if (distance != 1 ) stats * = (6 - distance) / 4f
332
332
if (tile.owningCity == null || tile.owningCity!! .civ != civ) stats * = 2 / 3f
333
333
stats * = civ.gameInfo.speed.productionCostModifier
334
334
if (closestCity != null ) {
You can’t perform that action at this time.
0 commit comments