small fix
This commit is contained in:
parent
3aa242ceb4
commit
c37c1d9957
@ -192,7 +192,7 @@ class CallbackManager {
|
|||||||
case 'ManiaPlanet.BeginMatch':
|
case 'ManiaPlanet.BeginMatch':
|
||||||
$titleId = $this->maniaControl->server->titleId;
|
$titleId = $this->maniaControl->server->titleId;
|
||||||
$titlePrefix = strtolower(substr($titleId, 0, 2));
|
$titlePrefix = strtolower(substr($titleId, 0, 2));
|
||||||
if ($titlePrefix != "sm") {
|
if ($titlePrefix == "sm") {
|
||||||
$this->triggerCallback($callbackName, $callback);
|
$this->triggerCallback($callbackName, $callback);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -203,7 +203,7 @@ class CallbackManager {
|
|||||||
case 'ManiaPlanet.EndMatch': //TODO temporary fix
|
case 'ManiaPlanet.EndMatch': //TODO temporary fix
|
||||||
$titleId = $this->maniaControl->server->titleId;
|
$titleId = $this->maniaControl->server->titleId;
|
||||||
$titlePrefix = strtolower(substr($titleId, 0, 2));
|
$titlePrefix = strtolower(substr($titleId, 0, 2));
|
||||||
if ($titlePrefix != "sm") {
|
if ($titlePrefix == "sm") {
|
||||||
$this->triggerCallback($callbackName, $callback);
|
$this->triggerCallback($callbackName, $callback);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user