Fix stop orders to expire even when the country is broke
Broken in commit 8da88626
, v4.3.8.
This commit is contained in:
parent
d6cf175b0b
commit
a12a315cd9
1 changed files with 1 additions and 1 deletions
|
@ -98,13 +98,13 @@ finish_sects(int etu)
|
|||
|
||||
logerror("importing...");
|
||||
for (n = 0; NULL != (sp = getsectid(n)); n++) {
|
||||
sp->sct_off = 0;
|
||||
if (!sp->sct_own)
|
||||
continue;
|
||||
np = getnatp(sp->sct_own);
|
||||
if (np->nat_money < 0)
|
||||
continue;
|
||||
dodistribute(sp, IMPORT, import_cost[n]);
|
||||
sp->sct_off = 0;
|
||||
}
|
||||
logerror("done importing\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue