forked from github/server
Use two-phase RESERVE in regular process_orders
This commit is contained in:
parent
bd2809a975
commit
64ef71143a
|
@ -4620,7 +4620,10 @@ void init_processor(void)
|
||||||
|
|
||||||
p += 10; /* can't allow reserve before siege (weapons) */
|
p += 10; /* can't allow reserve before siege (weapons) */
|
||||||
add_proc_region(p, &enter_1, "Betreten (2. Versuch)");
|
add_proc_region(p, &enter_1, "Betreten (2. Versuch)");
|
||||||
add_proc_order(p, K_RESERVE, &reserve_cmd, 0, "Reservieren");
|
if (get_param_int(global.parameters, "rules.reserve.twophase", 0)) {
|
||||||
|
add_proc_order(p, K_RESERVE, &reserve_self, 0, "RESERVE (self)");
|
||||||
|
}
|
||||||
|
add_proc_order(p, K_RESERVE, &reserve_cmd, 0, "RESERVE (all)");
|
||||||
add_proc_order(p, K_CLAIM, &claim_cmd, 0, NULL);
|
add_proc_order(p, K_CLAIM, &claim_cmd, 0, NULL);
|
||||||
add_proc_unit(p, &follow_unit, "Folge auf Einheiten setzen");
|
add_proc_unit(p, &follow_unit, "Folge auf Einheiten setzen");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue