(produce_sect, update_main): Charge capital maintenance in
produce_sect(), just like all the other sector costs.
This commit is contained in:
parent
2d99971a7f
commit
a7393becc0
2 changed files with 2 additions and 1 deletions
|
@ -286,6 +286,8 @@ produce_sect(int natnum, int etu, int *bp, long p_sect[][2])
|
|||
if ((sp->sct_type == SCT_CAPIT) && (sp->sct_effic > 60)) {
|
||||
p_sect[SCT_CAPIT][0]++;
|
||||
p_sect[SCT_CAPIT][1] += etu;
|
||||
if (!player->simulation)
|
||||
np->nat_money -= etu;
|
||||
}
|
||||
|
||||
if (player->simulation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue