From f46379bd8fac12e7c5817a47f525e40a12ca1985 Mon Sep 17 00:00:00 2001 From: Nigel Sheldon Date: Sun, 28 Feb 2021 14:42:03 +0100 Subject: [PATCH] =?UTF-8?q?Les=20covies=20ayant=20moins=20d'unit=C3=A9=20t?= =?UTF-8?q?errestre,=20il=20ne=20faut=20pas=20aller=20chercher=20cette=20i?= =?UTF-8?q?nformation=20sur=20la=20plan=C3=A8te=20covie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- onyx2/include/game/arbre.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); }