adding check if the mode uses warmup to add the buttons in the menu

This commit is contained in:
kremsy
2014-07-04 18:25:09 +02:00
parent 0ada7f2a1e
commit 4647299ec8
3 changed files with 42 additions and 16 deletions

View File

@ -56,6 +56,9 @@ class ShootManiaCallbacks implements CallbackListener {
case 'LibAFK_IsAFK':
$this->triggerAfkStatus($data[0]);
break;
case 'WarmUp_Status':
$this->maniaControl->callbackManager->triggerCallback(Callbacks::WARMUPSTATUS, $data[0]);
break;
case self::CB_TIMEATTACK_ONCHECKPOINT:
$this->handleTimeAttackOnCheckpoint($name, $data);
break;