(zdon): Do not allow a country that is in-flux to request an update.
Closes #1025597.
This commit is contained in:
parent
5ffef496ea
commit
c2ee177256
1 changed files with 4 additions and 0 deletions
|
@ -114,6 +114,10 @@ zdon(void)
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
if (wantupd) {
|
if (wantupd) {
|
||||||
|
if (influx(natp)) {
|
||||||
|
pr("Unable to request an update as the country is in flux\n");
|
||||||
|
return RET_FAIL;
|
||||||
|
}
|
||||||
update = natp->nat_update | WUPD_WANT;
|
update = natp->nat_update | WUPD_WANT;
|
||||||
natp->nat_missed = 0;
|
natp->nat_missed = 0;
|
||||||
pr("You (%d) now want an update.\n", whichcnum);
|
pr("You (%d) now want an update.\n", whichcnum);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue