Fix for PHP 7.2 compatibility

This commit is contained in:
nemunaire 2020-11-15 17:20:47 +01:00
commit 2be9fcd5c3
12 changed files with 21 additions and 15 deletions

View file

@ -80,7 +80,7 @@ class Planete extends Surface
$this->nom_planete = $plan["nom_planete"];
$this->image = $plan["image"];
$this->cases = $plan["cases"];
$this->energieCentrale = $plan["energieCentrale"];
$this->energieCentrale = @$plan["energieCentrale"];
$this->debris_met = $plan["debris_met"];
$this->debris_cri = $plan["debris_cri"];
$this->metal = $plan["metal"];