Bug fix: Buildings not set to -1 by default correctly (#9635)

* Change the default cost of buildings and the default time of tile improvements

* Bugfix: default building cost is now set to -1 as intended
This commit is contained in:
SeventhM 2023-06-22 22:52:47 -07:00 committed by GitHub
parent f78fd7e665
commit 38cf71a7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ import kotlin.math.pow
class Building : RulesetStatsObject(), INonPerpetualConstruction {
override var requiredTech: String? = null
override var cost: Int = 0
override var cost: Int = -1
var maintenance = 0
private var percentStatBonus: Stats? = null