forked from halo-battle/game
AJout des bouclier/attaque/armature des vaisseaux et fix de l'affichage de l'arbre techno
This commit is contained in:
parent
2269a56ce5
commit
b0e5c7dea5
3 changed files with 389 additions and 38 deletions
|
|
@ -89,7 +89,7 @@ foreach ($planete->casernes as $id => $unite) {
|
|||
$template->assign('caserne', $TEMP_liste);
|
||||
|
||||
$TEMP_liste = array();
|
||||
$id = 1;
|
||||
$id = 0;
|
||||
$max_unite = count($LANG[$race]["terrestre"]["noms_sing"]);
|
||||
while ($id <= $max_unite) {
|
||||
if (!empty($LANG[$race]["terrestre"]["noms_sing"][$id])) {
|
||||
|
|
@ -103,7 +103,7 @@ while ($id <= $max_unite) {
|
|||
$template->assign('unites', $TEMP_liste);
|
||||
|
||||
$TEMP_liste = array();
|
||||
$id = 1;
|
||||
$id = 0;
|
||||
$max_unite = count($LANG[$race]["vaisseaux"]["noms_sing"]);
|
||||
while ($id <= $max_unite) {
|
||||
if (!empty($LANG[$race]["vaisseaux"]["noms_sing"][$id])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue