set up VReplayChecks for Dedimania records in Laps mode (#187)

This commit is contained in:
agiorla
2018-07-03 12:12:47 -04:00
committed by Lukas Kremsmayr
parent 0ab36b6fd3
commit 56b361fff9
3 changed files with 38 additions and 5 deletions

View File

@ -183,8 +183,7 @@ class DedimaniaWebHandler implements TimerListener {
}
if (!isset($replays['VReplayChecks'])) {
$replays['VReplayChecks'] = '';
// TODO: VReplayChecks
$replays['VReplayChecks'] = $record->allCheckpoints;
}
if (!isset($replays['Top1GReplay'])) {
$replays['Top1GReplay'] = $record->top1GReplay;
@ -192,6 +191,7 @@ class DedimaniaWebHandler implements TimerListener {
}
xmlrpc_set_type($replays['VReplay'], 'base64');
xmlrpc_set_type($replays['VReplayChecks'], 'base64');
xmlrpc_set_type($replays['Top1GReplay'], 'base64');
$data = array($this->dedimaniaData->sessionId, $this->getMapInfo(), $gameMode, $times, $replays);