forked from halo-battle/game
Version 1.9g
This commit is contained in:
parent
d028822d0b
commit
4c9814a99c
800 changed files with 237325 additions and 1949 deletions
|
|
@ -5,10 +5,10 @@ $titre = 'Arbre des technologies';
|
|||
|
||||
if (empty($_GET['q'])) $_GET['q'] = '';
|
||||
$template->assign('defaut',$_GET['q']);
|
||||
if (empty($_GET['r']) || ($_GET['r'] != 'humain' && $_GET['r'] != 'covenant')) $_GET['r'] = $queryUser['race'];
|
||||
if (empty($_GET['r']) || ($_GET['r'] != 'humain' && $_GET['r'] != 'covenant')) $_GET['r'] = $planete->race;
|
||||
|
||||
$race = $_GET['r'];
|
||||
if ($race != $queryUser['race']) include(_FCORE."../game/noms.php");
|
||||
if ($race != $planete->race) include(_FCORE."../game/noms.php");
|
||||
$template->assign('raceAff', $race);
|
||||
|
||||
$TEMP_batiments = array();
|
||||
|
|
@ -29,7 +29,7 @@ for ($id=0 ; $id<$nb ; $id++) {
|
|||
if (!empty($technolo[$id])) $TEMP_technologies[] = array(
|
||||
'id' => $id,
|
||||
'nom' => $technolo[$id],
|
||||
'niveau' => $queryUser[$technoloVAR[$id]],
|
||||
'niveau' => $planete->technologies[$id],
|
||||
'etat' => readDeblok($technoloTECH[$id], $planete)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue