Met les bonnes valeures sur la planète lors de la colonisation

This commit is contained in:
Nigel Sheldon 2021-01-16 19:03:55 +01:00
parent 5334b1877d
commit d72e495f59

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