Les covies ayant moins d'unité terrestre, il ne faut pas aller chercher cette information sur la planète covie

This commit is contained in:
Nigel Sheldon 2021-02-28 14:42:03 +01:00
parent 295add63bc
commit f46379bd8f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);
}