cleanup
This commit is contained in:
parent
19917c9add
commit
9ea97b684f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user