(cede): Require recipient is in STAT_ACTIVE. Should not make a
difference, because the recipient must have suitable assets nearby, but is clearer.
This commit is contained in:
parent
b94b3b1b7f
commit
8d578153c7
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ cede(void)
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
natp = getnatp(n);
|
natp = getnatp(n);
|
||||||
if (natp->nat_stat == STAT_GOD) {
|
if (natp->nat_stat != STAT_ACTIVE) {
|
||||||
pr("You can only give to normal countries...\n");
|
pr("You can only give to normal countries...\n");
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue