From 9ea97b684fe7ffafa8d7a5b4c612976acad4fc3d Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 9 May 2014 12:19:06 +0200 Subject: [PATCH] cleanup --- application/core/Callbacks/CallbackManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/core/Callbacks/CallbackManager.php b/application/core/Callbacks/CallbackManager.php index c92fb6ce..5a6752bf 100644 --- a/application/core/Callbacks/CallbackManager.php +++ b/application/core/Callbacks/CallbackManager.php @@ -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); - } + $this->triggerCallback($callbackName, $callback); break; case 'ManiaPlanet.BeginMap': $this->maniaControl->mapManager->handleBeginMap($callback);