Grosse passe sur les recherches #22

Merged
nemunaire merged 9 commits from task/20210228/add_techno_implementation into master 2021-02-28 17:10:22 +00:00
Showing only changes of commit f46379bd8f - Show all commits

View File

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