new two-phase reserve for e4

This commit is contained in:
Enno Rehling 2014-07-20 09:42:45 +02:00
parent 2eda4036b0
commit 956efc48d5
2 changed files with 2 additions and 1 deletions

View File

@ -118,6 +118,7 @@
<param name="study.speedup" value="0"/> <param name="study.speedup" value="0"/>
<param name="world.era" value="3"/> <param name="world.era" value="3"/>
<param name="rules.migrants" value="0"/> <param name="rules.migrants" value="0"/>
<param name="rules.reserve.twophase" value="1"/>
<param name="rules.transfermen" value="0"/> <param name="rules.transfermen" value="0"/>
<param name="rules.stealth.faction" value="1"/> <param name="rules.stealth.faction" value="1"/>
<param name="rules.stealth.anon_battle" value="0"/> <param name="rules.stealth.anon_battle" value="0"/>

View File

@ -223,7 +223,7 @@ void process_explain(void) {
} }
void process_reserve(void) { void process_reserve(void) {
int rule = get_param_int(global.parameters, "rule.reserve.twophase", 0); int rule = get_param_int(global.parameters, "rules.reserve.twophase", 0);
if (rule) { if (rule) {
process_cmd(K_RESERVE, reserve_self, 0); process_cmd(K_RESERVE, reserve_self, 0);
} }