performed code formatting

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

No files matched your search

+8 -3
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) {
}
}