|
|
@ -141,15 +141,9 @@ public final function InjectIntoVotingHandler() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function TrySetupMapList() { |
|
|
|
public function TrySetupMapList() { |
|
|
|
local MapList_Feature mapListFeature; |
|
|
|
|
|
|
|
local Text currentConfigName; |
|
|
|
local Text currentConfigName; |
|
|
|
local MapList currentConfig; |
|
|
|
local MapList currentConfig; |
|
|
|
|
|
|
|
|
|
|
|
mapListFeature = MapList_Feature(class'MapList_Feature'.static.GetEnabledInstance()); |
|
|
|
|
|
|
|
if (mapListFeature == none) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
currentConfigName = mapListFeature.GetCurrentConfig(); |
|
|
|
|
|
|
|
if (currentConfigName != none) { |
|
|
|
if (currentConfigName != none) { |
|
|
|
currentConfig = MapList(class'MapList'.static.GetConfigInstance(currentConfigName)); |
|
|
|
currentConfig = MapList(class'MapList'.static.GetConfigInstance(currentConfigName)); |
|
|
|
} |
|
|
|
} |
|
|
|