Fixed bug that preclude building spaceship parts
This commit is contained in:
parent
e40bc91156
commit
bc404d9b17
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Building : NamedStats(), IConstruction{
|
|||
}
|
||||
|
||||
if ("Spaceship part" == unique) {
|
||||
if (!civInfo.buildingUniques.contains("Allows the building of spaceship parts")) return false
|
||||
if (!civInfo.buildingUniques.contains("Enables construction of Spaceship parts")) return false
|
||||
if (civInfo.scienceVictory.unconstructedParts()[name] == 0) return false // Don't need to build any more of these!
|
||||
}
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue