diff --git a/src/lib/update/finish.c b/src/lib/update/finish.c index d5d8c27c..28aab7b9 100644 --- a/src/lib/update/finish.c +++ b/src/lib/update/finish.c @@ -162,6 +162,8 @@ finish_sects(int etu) if (infptr->path) free(infptr->path); #endif /* SAVE_FINISH_PATHS */ + + sp->sct_off = 0; } logerror("done importing\n"); diff --git a/src/lib/update/sect.c b/src/lib/update/sect.c index f0105ac8..ea7238b2 100644 --- a/src/lib/update/sect.c +++ b/src/lib/update/sect.c @@ -314,11 +314,8 @@ produce_sect(int natnum, int etu, int *bp, long p_sect[][2]) bp_disable_cachepath(); bp_clear_cachepath(); - if (sp->sct_off || np->nat_money < 0) { - if (!player->simulation) - sp->sct_off = 0; + if (sp->sct_off || np->nat_money < 0) continue; - } neweff = sp->sct_effic; amount = 0;