forked from halo-battle/game
Corrige le linting sur la branche add_race_to_defense
This commit is contained in:
parent
af1eb71738
commit
991021b662
@ -586,9 +586,9 @@ class dSpatial implements Donnees
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static function needed($id, surface $planete, $print = false, $race = NULL)
|
public static function needed($id, surface $planete, $print = false, $race = null)
|
||||||
{
|
{
|
||||||
if ($race == NULL) {
|
if ($race == null) {
|
||||||
$race = $planete->race;
|
$race = $planete->race;
|
||||||
}
|
}
|
||||||
if ($race == "humain") {
|
if ($race == "humain") {
|
||||||
|
@ -621,9 +621,9 @@ class dTerrestre implements Donnees
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static function needed($id, surface $planete, $print = false, $race = NULL)
|
public static function needed($id, surface $planete, $print = false, $race = null)
|
||||||
{
|
{
|
||||||
if ($race == NULL) {
|
if ($race == null) {
|
||||||
$race = $planete->race;
|
$race = $planete->race;
|
||||||
}
|
}
|
||||||
if ($race == "humain") {
|
if ($race == "humain") {
|
||||||
|
Loading…
Reference in New Issue
Block a user