forked from github/server
Waehrend der NewbießImmunitaet kann nicht bewacht werden.
This commit is contained in:
parent
d57e05fcd7
commit
d6397d6edb
1 changed files with 2 additions and 0 deletions
|
@ -2758,6 +2758,8 @@ guard_on_cmd(unit * u, struct order * ord)
|
||||||
guard(u, GUARD_ALL);
|
guard(u, GUARD_ALL);
|
||||||
} else if (!armedmen(u)) {
|
} else if (!armedmen(u)) {
|
||||||
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "unit_unarmed", ""));
|
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "unit_unarmed", ""));
|
||||||
|
} else if (u->faction->age < NewbieImmunity()) {
|
||||||
|
cmistake(u, ord, 304, MSG_EVENT);
|
||||||
} else {
|
} else {
|
||||||
guard(u, GUARD_ALL);
|
guard(u, GUARD_ALL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue