fix: oasis can be conquered with animals in it

#385
This commit is contained in:
Martin Ambrus
2017-11-26 21:41:15 +01:00
parent 4b52df7482
commit faa4fa291e
+1 -1
View File
@@ -1446,7 +1446,7 @@ class MYSQLi_DB implements IDbConnection {
$o_unit = $this->getUnit($vref, $use_cache); $o_unit = $this->getUnit($vref, $use_cache);
for ( $i = 1; $i < 51; $i ++ ) { for ( $i = 1; $i < 51; $i ++ ) {
$troops_o += $o_unit[ $i ]; $troops_o += $o_unit[ 'u'.$i ];
} }
$troops_o += $o_unit['hero']; $troops_o += $o_unit['hero'];