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:
parent
295add63bc
commit
f46379bd8f
@ -94,7 +94,7 @@ $max_unite = count($LANG[$race]["terrestre"]["noms_sing"]);
|
|||||||
while ($id <= $max_unite) {
|
while ($id <= $max_unite) {
|
||||||
if (!empty($LANG[$race]["terrestre"]["noms_sing"][$id])) {
|
if (!empty($LANG[$race]["terrestre"]["noms_sing"][$id])) {
|
||||||
$TEMP_liste[$id] = array(
|
$TEMP_liste[$id] = array(
|
||||||
'niveau' => $planete->terrestres[$id],
|
'niveau' => ($race == $planete->race) ? $planete->terrestres[$id] : 0,
|
||||||
'etat' => dTerrestre::needed($id, $planete, true, $race)
|
'etat' => dTerrestre::needed($id, $planete, true, $race)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user