This commit is contained in:
kremsy 2014-05-09 12:19:06 +02:00
parent 19917c9add
commit 9ea97b684f

View File

@ -177,9 +177,7 @@ class CallbackManager {
$callbackName = $callback[0];
switch ($callbackName) {
case 'ManiaPlanet.BeginMatch':
if ($this->maniaControl->mapManager->getCurrentMap()->getGame() == 'sm') {
$this->triggerCallback($callbackName, $callback);
}
break;
case 'ManiaPlanet.BeginMap':
$this->maniaControl->mapManager->handleBeginMap($callback);