small tm callback fixes
This commit is contained in:
parent
163cc6f4eb
commit
e56b83ccb3
@ -36,7 +36,7 @@ class OnScoresStructure extends CommonScoresStructure {
|
||||
$playerScore->setMapPoints($jsonPlayer->mappoints);
|
||||
$playerScore->setBestRaceTime($jsonPlayer->bestracetime);
|
||||
$playerScore->setBestLapTime($jsonPlayer->bestlaptime);
|
||||
$playerScore->setStuntScore($jsonPlayer->stuntscore);
|
||||
$playerScore->setStuntScore($jsonPlayer->stuntsscore);
|
||||
$playerScore->setBestRaceRespawns($jsonPlayer->bestracerespawns);
|
||||
$playerScore->setBestRaceCheckpoints($jsonPlayer->bestracecheckpoints);
|
||||
$playerScore->setBestLapRespawns($jsonPlayer->bestlaprespawns);
|
||||
|
@ -15,7 +15,6 @@ use ManiaControl\ManiaControl;
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class OnStuntEventStructure extends BasePlayerTimeStructure {
|
||||
private $numberOfRespawns;
|
||||
private $raceTime;
|
||||
private $lapTime;
|
||||
private $stuntsScore;
|
||||
@ -39,7 +38,6 @@ class OnStuntEventStructure extends BasePlayerTimeStructure {
|
||||
|
||||
$jsonObj = $this->getPlainJsonObject();
|
||||
|
||||
$this->numberOfRespawns = (int) $jsonObj->numberOfRespawns;
|
||||
$this->raceTime = (int) $jsonObj->racetime;
|
||||
$this->lapTime = (int) $jsonObj->laptime;
|
||||
$this->stuntsScore = $jsonObj->stuntsscore;
|
||||
@ -77,14 +75,6 @@ class OnStuntEventStructure extends BasePlayerTimeStructure {
|
||||
return $this->stuntsScore;
|
||||
}
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @return int
|
||||
*/
|
||||
public function getNumberOfRespawns() {
|
||||
return $this->numberOfRespawns;
|
||||
}
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @return mixed
|
||||
|
Loading…
Reference in New Issue
Block a user