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"); } /**