forked from halo-battle/game
Ajoute la foret de if qui permet de gérer la race du joueur pour le chantier terrestre
This commit is contained in:
parent
04b5e6af76
commit
54afd20cd8
2 changed files with 444 additions and 366 deletions
|
|
@ -41,7 +41,7 @@ if (isset($_GET['a']) && isset($_GET['b'])) {
|
|||
|
||||
$TEMP_liste = array();
|
||||
foreach ($planete->terrestres as $i => $nombre) {
|
||||
$type = dTerrestre::type($i);
|
||||
$type = dTerrestre::type($i, $planete);
|
||||
|
||||
if (!empty($LANG[$planete->race]['terrestre']['noms_sing'][$i]) && (($onglet == "defenses" && !$type) || ($onglet != "defenses" && $type)) && dTerrestre::needed($i, $planete)) {
|
||||
$TEMP_liste[] = array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue