Gestion de l'affichage des veaisseaux maintenant qu'ils sont désiquilibrés
This commit is contained in:
parent
f160876ccc
commit
81bf20f3b8
4 changed files with 23 additions and 11 deletions
|
@ -586,9 +586,12 @@ class dSpatial implements Donnees
|
|||
|
||||
|
||||
|
||||
public static function needed($id, surface $planete, $print = false)
|
||||
public static function needed($id, surface $planete, $print = false, $race = NULL)
|
||||
{
|
||||
if ($planete->race == "humain") {
|
||||
if ($race == NULL) {
|
||||
$race = $planete->race;
|
||||
}
|
||||
if ($race == "humain") {
|
||||
$neededSpatial =
|
||||
array(
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue