Consistently consider a nation bankrupt when its treasury is
negative. Some places considered $0 as bankrupt, some didn't. Fix the ones that did: (repo_list): report command misreported countries with $0 as broke. (init_nats): If you had $0, logging out and back in bankrupted you. (produce_sect, upd_ship): Failed to build sectors and produce stuff for countries with $0.
This commit is contained in:
parent
a71ec1459d
commit
09a842c1a0
4 changed files with 6 additions and 6 deletions
|
@ -97,7 +97,7 @@ repo_list(struct natstr *plnatp, struct natstr *natp)
|
|||
} else {
|
||||
if (!opt_HIDDEN && influx(natp))
|
||||
pr("In flux\n");
|
||||
else if (!opt_HIDDEN && natp->nat_money <= 0)
|
||||
else if (!opt_HIDDEN && natp->nat_money < 0)
|
||||
pr("Broke\n");
|
||||
else
|
||||
pr("Active\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue