This commit is contained in:
kremsy 2014-02-23 15:37:04 +01:00 committed by Steffen Schröder
parent dc248a69ed
commit 49435fbec0

View File

@ -277,11 +277,17 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
continue; continue;
} }
array_push($times, array('Login' => $record->login, 'Best' => $record->best, 'Checks' => $record->checkpoints)); array_push($times, array('Login' => $record->login, 'Best' => $record->best, 'Checks' => $record->checkpoints));
if(!isset($replays['VReplay'])){
$replays['VReplay'] = $record->vReplay; $replays['VReplay'] = $record->vReplay;
}
if (!isset($replays['Top1GReplay'])) {
$replays['Top1GReplay'] = $record->top1GReplay; $replays['Top1GReplay'] = $record->top1GReplay;
}
if (!isset($replays['VReplayChecks'])) {
$replays['VReplayChecks'] = ''; $replays['VReplayChecks'] = '';
// TODO: VReplayChecks // TODO: VReplayChecks
} }
}
xmlrpc_set_type($replays['VReplay'], 'base64'); xmlrpc_set_type($replays['VReplay'], 'base64');
xmlrpc_set_type($replays['Top1GReplay'], 'base64'); xmlrpc_set_type($replays['Top1GReplay'], 'base64');