Dedimania Challenge record set fix
This commit is contained in:
parent
84af711e5d
commit
89fdba15ed
@ -135,7 +135,6 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
|||||||
throw new \Exception("This Plugin is only for Trackmania!");
|
throw new \Exception("This Plugin is only for Trackmania!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$maxRecords = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAX_RECORDS);
|
$maxRecords = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAX_RECORDS);
|
||||||
|
|
||||||
$dedimaniaData = new DedimaniaData($serverInfo->login, $dedimaniaCode, $serverInfo->path, $packMask, $serverVersion);
|
$dedimaniaData = new DedimaniaData($serverInfo->login, $dedimaniaCode, $serverInfo->path, $packMask, $serverVersion);
|
||||||
@ -249,6 +248,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
public function handleBeginMap() {
|
public function handleBeginMap() {
|
||||||
|
$this->checkpoints = null;
|
||||||
$this->webHandler->getDedimaniaData()->unsetRecords();
|
$this->webHandler->getDedimaniaData()->unsetRecords();
|
||||||
$this->webHandler->maniaLinkUpdateNeeded();
|
$this->webHandler->maniaLinkUpdateNeeded();
|
||||||
$this->webHandler->fetchDedimaniaRecords(true);
|
$this->webHandler->fetchDedimaniaRecords(true);
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user