Dedimania Challenge record set fix

This commit is contained in:
kremsy 2017-06-30 18:33:54 +02:00
parent 84af711e5d
commit 89fdba15ed
2 changed files with 33 additions and 9 deletions

View File

@ -135,7 +135,6 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
throw new \Exception("This Plugin is only for Trackmania!");
}
$maxRecords = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAX_RECORDS);
$dedimaniaData = new DedimaniaData($serverInfo->login, $dedimaniaCode, $serverInfo->path, $packMask, $serverVersion);
@ -249,6 +248,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
* @internal
*/
public function handleBeginMap() {
$this->checkpoints = null;
$this->webHandler->getDedimaniaData()->unsetRecords();
$this->webHandler->maniaLinkUpdateNeeded();
$this->webHandler->fetchDedimaniaRecords(true);

File diff suppressed because one or more lines are too long