diff --git a/onyx2/include/Class/Donnees/spatial.php b/onyx2/include/Class/Donnees/spatial.php index 60c625e..214fff4 100644 --- a/onyx2/include/Class/Donnees/spatial.php +++ b/onyx2/include/Class/Donnees/spatial.php @@ -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), diff --git a/onyx2/include/Class/planete.php b/onyx2/include/Class/planete.php index a65e153..d6d2e77 100644 --- a/onyx2/include/Class/planete.php +++ b/onyx2/include/Class/planete.php @@ -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"); } /** diff --git a/onyx2/include/Class/rapport.php b/onyx2/include/Class/rapport.php index 58969a5..578081d 100644 --- a/onyx2/include/Class/rapport.php +++ b/onyx2/include/Class/rapport.php @@ -18,6 +18,8 @@ class Rapport public $rapportA = ""; public $rapportB = ""; + public $table = "mail"; + /** * Constructor * @access protected