Affiche les techno dans l'arbre des technos (la disruption) #6
@ -1469,7 +1469,7 @@ class dTechnologies implements Donnees
|
||||
public static function niveau_max($branche, $id, surface $planete, $LANG)
|
||||
{
|
||||
$niveau_max = 1;
|
||||
if ((self::idToBit($id) & $planete->technologies[$branche]) && isset($LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+1]) && $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id] == $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+1]) {
|
||||
if (isset($LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+1]) && $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id] == $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+1]) {
|
||||
if (isset($LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+2]) && $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+1] == $LANG[$planete->race]["technologies"]["noms_sing"][$branche][$id+2]) {
|
||||
$niveau_max = 3;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user