fix 25% production bonus in plus and now scouts can send as reinforcement

This commit is contained in:
unknown
2012-04-06 02:50:48 +03:00
parent ca7977daf4
commit ca3d9d399b
7 changed files with 15 additions and 55 deletions
+2 -2
View File
@@ -32,9 +32,9 @@ $ckey= $generator->generateRandStr(6);
$totalunits =$process['t1']+$process['t2']+$process['t3']+$process['t5']+$process['t6']+$process['t7']+$process['t8']+$process['t9']+$process['t10']+$process['t11'];
}
if ($scout==1 && $totalunits==0) {
if ($process['c'] != 2){
$process['c'] = 1;
}
}
$id = $database->addA2b($ckey,time(),$process['0'],$t1,$t2,$t3,$t4,$t5,$t6,$t7,$t8,$t9,$t10,$t11,$process['c']);