add a configuration switch to disable force_leave (bug 2059) for now.

This commit is contained in:
Enno Rehling 2015-02-01 12:57:54 +01:00
parent ba26897872
commit 01b46b143b
1 changed files with 3 additions and 1 deletions

View File

@ -4430,7 +4430,9 @@ void init_processor(void)
add_proc_unit(p, follow_unit, "Folge auf Einheiten setzen");
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_order(p, K_PROMOTION, &promotion_cmd, 0, "Heldenbefoerderung");