gold bug fix

This commit is contained in:
1brucben
2025-05-09 23:05:04 +02:00
parent 22f96ed4c1
commit 23867ced77
+1 -1
View File
@@ -662,7 +662,7 @@ export class DefaultConfig implements Config {
const cityWorkers =
(adjustedCityPopulation * totalWorkers) / totalPopulation;
const ruralWorkers = totalWorkers - cityWorkers;
const ruralWorkers = Math.max(totalWorkers - cityWorkers, 0);
const cityGold = cityWorkers / 2000;
const tileGold = (ruralWorkers ** 0.5 * numTiles ** 0.5) / 600;