Met les bonnes valeures sur la planète lors de la colonisation
This commit is contained in:
parent
5334b1877d
commit
d72e495f59
@ -712,7 +712,10 @@ class Planete extends Surface
|
|||||||
$this->cristal = 700;
|
$this->cristal = 700;
|
||||||
$this->hydrogene = 0;
|
$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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user