added lagoon environment
This commit is contained in:
parent
563a146492
commit
eebb2476b0
@ -325,23 +325,4 @@ class ManiaExchangeManager implements UsageInformationAble {
|
||||
|
||||
$mapSearch->fetchMapsAsync($function);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Current Environment by String
|
||||
*
|
||||
* @param string $env
|
||||
* @return int
|
||||
*/
|
||||
private function getEnvironment($env) {
|
||||
switch ($env) {
|
||||
case 'TMCanyon':
|
||||
return 1;
|
||||
case 'TMStadium':
|
||||
return 2;
|
||||
case 'TMValley':
|
||||
return 3;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -278,6 +278,8 @@ class ManiaExchangeMapSearch implements UsageInformationAble {
|
||||
return 2;
|
||||
case 'TMValley':
|
||||
return 3;
|
||||
case 'TMLagoon':
|
||||
return 4;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user