diff --git a/onyx2/include/game/arbre.php b/onyx2/include/game/arbre.php index 7ec16dd..4b94b48 100644 --- a/onyx2/include/game/arbre.php +++ b/onyx2/include/game/arbre.php @@ -94,7 +94,7 @@ $max_unite = count($LANG[$race]["terrestre"]["noms_sing"]); while ($id <= $max_unite) { if (!empty($LANG[$race]["terrestre"]["noms_sing"][$id])) { $TEMP_liste[$id] = array( - 'niveau' => $planete->terrestres[$id], + 'niveau' => ($race == $planete->race) ? $planete->terrestres[$id] : 0, 'etat' => dTerrestre::needed($id, $planete, true, $race) ); }