Fix la colonisation #17

Merged
nemunaire merged 3 commits from fix/colonisation_covie into master 2021-01-16 19:48:07 +00:00
3 changed files with 7 additions and 2 deletions

View File

@ -665,7 +665,7 @@ class dSpatial implements Donnees
),
array(
array('batiments', 8, 3),
array('technologies', 8, 1)
array('technologies', 8, 0)
),
array(
array('batiments', 8, 3),

View File

@ -712,7 +712,10 @@ class Planete extends Surface
$this->cristal = 700;
$this->hydrogene = 0;
$this->modif = array("id_user", "nom_planete", "galaxie", "ss", "position", "image", "cases");
// on met le moment où la planete a été crée, comme ça, à la première actualisation, on ne remplit pas les silos
$this->timestamp = time();
$this->modif = array("id_user", "nom_planete", "galaxie", "ss", "position", "image", "cases", "timestamp", "metal", "cristal", "hydrogene");
}
/**

View File

@ -18,6 +18,8 @@ class Rapport
public $rapportA = "";
public $rapportB = "";
public $table = "mail";
/**
* Constructor
* @access protected