performed code formatting

This commit is contained in:
Steffen Schröder
2014-08-05 02:17:41 +02:00
parent 98b5f132dc
commit 28d2c08936
66 changed files with 4054 additions and 1901 deletions

View File

@ -33,14 +33,19 @@ class MapActions {
*/
public function skipMap() {
// Force an EndMap on the MapQueue to set the next Map
$this->maniaControl->getMapManager()->getMapQueue()->endMap(null);
$this->maniaControl->getMapManager()
->getMapQueue()
->endMap(null);
// Ignore EndMap on MapQueue
$this->maniaControl->getMapManager()->getMapQueue()->dontQueueNextMapChange();
$this->maniaControl->getMapManager()
->getMapQueue()
->dontQueueNextMapChange();
// Switch The Map
try {
$this->maniaControl->getClient()->nextMap();
$this->maniaControl->getClient()
->nextMap();
} catch (ChangeInProgressException $e) {
}
}