diff --git a/GameEngine/Technology.php b/GameEngine/Technology.php index 9ff379b3..b8c6be0f 100644 --- a/GameEngine/Technology.php +++ b/GameEngine/Technology.php @@ -392,7 +392,6 @@ class Technology { $horsedrinking = $j; } } - if($i>=4 && $i<=6 && $dataarray['drinking'] <= $buildarray['f'.$horsedrinking]) { if(isset($horsedrinking)){ if(($i==4 && $buildarray['f'.$horsedrinking] >= 10) || ($i==5 && $buildarray['f'.$horsedrinking] >= 15) @@ -403,9 +402,6 @@ class Technology { }}else{ $upkeep += $dataarray['pop'] * $array[$unit]; } - }else{ - $upkeep += $dataarray['pop'] * $array[$unit]; - } } // $unit = "hero"; // global $$unit;