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