diff --git a/onyx2/include/game/laboratoire.php b/onyx2/include/game/laboratoire.php index f9598a9..479cc03 100644 --- a/onyx2/include/game/laboratoire.php +++ b/onyx2/include/game/laboratoire.php @@ -81,35 +81,14 @@ function traiterBranche($onglet, $branche, $start = false) } } - //La technologie Expansion peut monter jusqu'au niveau 18 \o/ - if ($onglet == 8) { - $i = 1; - while ($i < 18) { - $b = $origin_b; - if ((dTechnologies::idToBit($b + ($i - 1)) & $planete->technologies[$onglet]) && - isset($LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+$i]) && - $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b] == - $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+$i]) { - //La techno est déjà a ce niveau, on ne fait rien - } else { - $b += ($i - 1); - break; - } - $i++; - } - } - if ($key >= 1) { $return .= "
"; } - //La techno est au plus haut niveau if (dTechnologies::idToBit($b) & $planete->technologies[$onglet]) { $return .= '
'; - //La techno peut encore être augmentée } elseif (dTechnologies::idToBit($origin_b) & $planete->technologies[$onglet]) { $return .= '
'; - //La techno n'a pas encore été recherchée } else { $return .= '
'; } diff --git a/onyx2/tpl/game/menu_joueurs.tpl b/onyx2/tpl/game/menu_joueurs.tpl index a7e0d8f..578040d 100644 --- a/onyx2/tpl/game/menu_joueurs.tpl +++ b/onyx2/tpl/game/menu_joueurs.tpl @@ -27,7 +27,6 @@
  • Armement
  • Défenses
  • Projets expérimentaux
  • -
  • Expansion
  • {/if}
  • @@ -68,4 +67,4 @@
  • Rapports de bug
  • F.A.Q.
  • Déconnexion
  • - + \ No newline at end of file