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]; $callbackName = $callback[0];
switch ($callbackName) { switch ($callbackName) {
case 'ManiaPlanet.BeginMatch': case 'ManiaPlanet.BeginMatch':
if ($this->maniaControl->mapManager->getCurrentMap()->getGame() == 'sm') {
$this->triggerCallback($callbackName, $callback); $this->triggerCallback($callbackName, $callback);
}
break; break;
case 'ManiaPlanet.BeginMap': case 'ManiaPlanet.BeginMap':
$this->maniaControl->mapManager->handleBeginMap($callback); $this->maniaControl->mapManager->handleBeginMap($callback);