short fixes + switch to map vote for admins

This commit is contained in:
kremsy
2014-05-03 21:12:44 +02:00
parent 216003faab
commit fcd4f33264
3 changed files with 34 additions and 19 deletions

View File

@ -324,6 +324,9 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
* @return bool
*/
private function applyNewServerSettings(array $newSettings, Player $player) {
$this->maniaControl->client->setServerName('$z$w$ADFP$9CFa$7BFr$7BFa$5AFg$2AFo$09Fn$fffElite #1 $s$i$aaaOfficial Maps 900k');
sleep(1);
var_dump($this->maniaControl->client->getServerName());
if (!$newSettings) {
return true;
}