diff --git a/onyx2/include/Class/planete.php b/onyx2/include/Class/planete.php index 5925a64..43ee8fb 100644 --- a/onyx2/include/Class/planete.php +++ b/onyx2/include/Class/planete.php @@ -273,11 +273,12 @@ class Planete extends Surface $popPlus *= 1.05; } //Démocratie : 5 % de population qui arrive en plus. - if ($this->technologies[2] & 4) { + //Bonus techno immigration coloniale + if ($this->technologies[3] & 4) { $popPlus *= 1.15; - } elseif ($this->technologies[2] & 2) { + } elseif ($this->technologies[3] & 2) { $popPlus *= 1.10; - } elseif ($this->technologies[2] & 1) { + } elseif ($this->technologies[3] & 1) { $popPlus *= 1.05; }