Merge pull request #40 from Chris92de/master

Fire callback CB_MAPQUEUE_CHANGED on /replay
This commit is contained in:
Lukas Kremsmayr 2015-02-26 11:27:39 +01:00
commit 8636902234

View File

@ -223,8 +223,8 @@ class MapQueue implements CallbackListener, CommandListener {
if (array_key_exists($map->uid, $this->queuedMaps)) {
unset($this->queuedMaps[$map->uid]);
}
array_unshift($this->queuedMaps, array($player, $map, true));
$this->maniaControl->callbackManager->triggerCallback(self::CB_MAPQUEUE_CHANGED, array('add', $map));
}
}