render structures more efficiently

This commit is contained in:
Evan
2025-01-22 20:25:32 -08:00
parent 67840026ff
commit d69a70121f
2 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export class DevConfig extends DefaultConfig {
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
const oldCost = info.cost
info.cost = (p: Player) => oldCost(p) / 10
info.cost = (p: Player) => oldCost(p) / 1000000000
return info
}