Merge pull request #124 from badgerman/master

add a configuration switch to disable force_leave (bug 2059) for now.
This commit is contained in:
Enno Rehling 2015-02-01 13:01:04 +01:00
commit 136230f51b
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");