small fix
This commit is contained in:
parent
e56b83ccb3
commit
c40aa24a96
@ -74,7 +74,7 @@ class OnStuntEventStructure extends BasePlayerTimeStructure {
|
|||||||
public function getStuntsScore() {
|
public function getStuntsScore() {
|
||||||
return $this->stuntsScore;
|
return $this->stuntsScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
@ -1013,6 +1013,11 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
|
|||||||
private function searchMaps($searchString, $searchBy = self::SEARCH_BY_MAP_NAME) {
|
private function searchMaps($searchString, $searchBy = self::SEARCH_BY_MAP_NAME) {
|
||||||
$result = array();
|
$result = array();
|
||||||
$searchString = strtolower($searchString);
|
$searchString = strtolower($searchString);
|
||||||
|
|
||||||
|
if($searchString == ''){
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($this->maps as $map) {
|
foreach ($this->maps as $map) {
|
||||||
switch ($searchBy) {
|
switch ($searchBy) {
|
||||||
case self::SEARCH_BY_MAP_NAME:
|
case self::SEARCH_BY_MAP_NAME:
|
||||||
|
Loading…
Reference in New Issue
Block a user