forked from github/server
Merge pull request #124 from badgerman/master
add a configuration switch to disable force_leave (bug 2059) for now.
This commit is contained in:
commit
136230f51b
1 changed files with 3 additions and 1 deletions
|
@ -4430,7 +4430,9 @@ void init_processor(void)
|
||||||
add_proc_unit(p, follow_unit, "Folge auf Einheiten setzen");
|
add_proc_unit(p, follow_unit, "Folge auf Einheiten setzen");
|
||||||
|
|
||||||
p += 10; /* rest rng again before economics */
|
p += 10; /* rest rng again before economics */
|
||||||
add_proc_region(p, force_leave, "kick non-allies out of buildings/ships");
|
if (get_param_int(global.parameters, "rules.owners.force_leave", 0)) {
|
||||||
|
add_proc_region(p, force_leave, "kick non-allies out of buildings/ships");
|
||||||
|
}
|
||||||
add_proc_region(p, economics, "Zerstoeren, Geben, Rekrutieren, Vergessen");
|
add_proc_region(p, economics, "Zerstoeren, Geben, Rekrutieren, Vergessen");
|
||||||
add_proc_order(p, K_PROMOTION, &promotion_cmd, 0, "Heldenbefoerderung");
|
add_proc_order(p, K_PROMOTION, &promotion_cmd, 0, "Heldenbefoerderung");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue