Add compatibility with php 8.2
This commit is contained in:
1 parent
16889f1a6a
commit
9e8432999b
8 files changed
+25
-4
No files matched your search
@@ -40,11 +40,11 @@ class OnRespawnStructure extends BasePlayerTimeStructure {
|
||||
$this->numberOfRespawns = (int) $jsonObj->nbrespawns;
|
||||
$this->raceTime = (int) $jsonObj->racetime;
|
||||
$this->lapTime = (int) $jsonObj->laptime;
|
||||
$this->stuntsScore = $jsonObj->stuntsscore;
|
||||
if (isset($jsonObj->stuntsscore)) $this->stuntsScore = $jsonObj->stuntsscore;
|
||||
$this->checkPointInRace = (int) $jsonObj->checkpointinrace;
|
||||
$this->checkPointInLap = (int) $jsonObj->checkpointinlap;
|
||||
$this->speed = $jsonObj->speed;
|
||||
$this->distance = $jsonObj->distance;
|
||||
if (isset($jsonObj->distance)) $this->distance = $jsonObj->distance;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user