forked from github/server
PROMOTE fix
This commit is contained in:
parent
e367c48ee2
commit
6c3d9bbfd8
1 changed files with 1 additions and 1 deletions
|
@ -2313,7 +2313,7 @@ promotion_cmd(unit * u, struct order * ord)
|
|||
maxheroes(u->faction), countheroes(u->faction)));
|
||||
return 0;
|
||||
}
|
||||
if (valid_race(u->faction, u->race)) {
|
||||
if (!valid_race(u->faction, u->race)) {
|
||||
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "heroes_race", "race",
|
||||
u->race));
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue