Fix capital maintenance to charge at 60% efficiency
produce_sect() started to charge at 61%. Has always been that way.
This commit is contained in:
parent
def5ef11ff
commit
b7c7fa00e1
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ produce_sect(int natnum, int etu, struct bp *bp, long p_sect[][2])
|
||||||
|
|
||||||
np = getnatp(natnum);
|
np = getnatp(natnum);
|
||||||
|
|
||||||
if ((sp->sct_type == SCT_CAPIT) && (sp->sct_effic > 60)) {
|
if (sp->sct_type == SCT_CAPIT && sp->sct_effic >= 60) {
|
||||||
p_sect[SCT_CAPIT][0]++;
|
p_sect[SCT_CAPIT][0]++;
|
||||||
p_sect[SCT_CAPIT][1] += etu;
|
p_sect[SCT_CAPIT][1] += etu;
|
||||||
if (!player->simulation)
|
if (!player->simulation)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue