bugfix
This commit is contained in:
parent
fceb0aa9e0
commit
fe3a57f66f
@ -187,6 +187,10 @@ class ManiaExchangeInfoSearcher { //TODO rename to ManiaExchangeManager
|
|||||||
$this->maniaControl->client->query('GetModeScriptInfo');
|
$this->maniaControl->client->query('GetModeScriptInfo');
|
||||||
$scriptInfos = $this->maniaControl->client->getResponse();
|
$scriptInfos = $this->maniaControl->client->getResponse();
|
||||||
|
|
||||||
|
/*
|
||||||
|
$this->maniaControl->client->query('SendModeScriptCommands', array('Command_ForceWarmUp' => True));
|
||||||
|
$test = $this->maniaControl->client->getResponse(); Just a test, and its working!*/
|
||||||
|
|
||||||
$mapTypes = $scriptInfos["CompatibleMapTypes"];
|
$mapTypes = $scriptInfos["CompatibleMapTypes"];
|
||||||
|
|
||||||
// compile search URL
|
// compile search URL
|
||||||
@ -196,7 +200,7 @@ class ManiaExchangeInfoSearcher { //TODO rename to ManiaExchangeManager
|
|||||||
$url .= '&environments=' . $this->getEnvironment($env);
|
$url .= '&environments=' . $this->getEnvironment($env);
|
||||||
}
|
}
|
||||||
if($name != '') {
|
if($name != '') {
|
||||||
$url .= '&trackname=' . $name;
|
$url .= '&trackname=' . str_replace(" ", "%20", $name);
|
||||||
}
|
}
|
||||||
if($author != '') {
|
if($author != '') {
|
||||||
$url .= '&author=' . $author;
|
$url .= '&author=' . $author;
|
||||||
|
Loading…
Reference in New Issue
Block a user