Ticket #1084 (closed defect: fixed)
qBot fails to handle not having a civ center
|Reported by:||gerbilOFdoom||Owned by:||quantumstate|
|Priority:||Must Have||Milestone:||Alpha 9|
On map Gallic Fields, the Romans do not have a civ center. qBot throws errors because "myCivCentres.toEntityArray()" returns a null value when a civ center is not present. I added a null check, but the error popped back up when the economy portion of qBot couldn't find "accessibility" because it wasn't defined due to my null check. I read something about the game slowing down excessively when a civ center is destroyed, don't know if it has been fixed or not but this is probably the issue. Assigning to quantumstate, pretty sure he's the developer of qBot.