small fix

This commit is contained in:
kremsy
2014-02-13 18:18:14 +01:00
committed by Steffen Schröder
parent 8275744fb2
commit 56ca076bec
2 changed files with 17 additions and 3 deletions

View File

@ -43,7 +43,11 @@ class RankingManager implements CallbackListener {
* Initialize the Rankings
*/
public function onInit() {
$this->maniaControl->client->triggerModeScriptEvent('LibXmlRpc_GetRankings', '');
try {
$this->maniaControl->client->triggerModeScriptEvent('LibXmlRpc_GetRankings', '');
} catch(\Exception $e) {
//do nothing
}
}