|
|
@ -50,7 +50,6 @@ private function InitializeServer() |
|
|
|
{ |
|
|
|
{ |
|
|
|
local int i; |
|
|
|
local int i; |
|
|
|
local GameMode currentGameMode; |
|
|
|
local GameMode currentGameMode; |
|
|
|
local MapList_Feature mapListFeature; |
|
|
|
|
|
|
|
local array<Packages.FeatureConfigPair> availableFeatures; |
|
|
|
local array<Packages.FeatureConfigPair> availableFeatures; |
|
|
|
|
|
|
|
|
|
|
|
if (class'Packages'.default.clientside) { |
|
|
|
if (class'Packages'.default.clientside) { |
|
|
@ -80,11 +79,6 @@ private function InitializeServer() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
EnableFeatures(availableFeatures); |
|
|
|
EnableFeatures(availableFeatures); |
|
|
|
|
|
|
|
|
|
|
|
mapListFeature = MapList_Feature(class'MapList_Feature'.static.GetEnabledInstance()); |
|
|
|
|
|
|
|
if (mapListFeature != none) { |
|
|
|
|
|
|
|
warn("aaaaaaaa"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Checks whether Acedia has left garbage after the previous map. |
|
|
|
// Checks whether Acedia has left garbage after the previous map. |
|
|
@ -131,6 +125,9 @@ public function array<Packages.FeatureConfigPair> GetAutoConfigurationInfo() |
|
|
|
local array<Packages.FeatureConfigPair> result; |
|
|
|
local array<Packages.FeatureConfigPair> result; |
|
|
|
|
|
|
|
|
|
|
|
availableFeatures = _.environment.GetAvailableFeatures(); |
|
|
|
availableFeatures = _.environment.GetAvailableFeatures(); |
|
|
|
|
|
|
|
// We only have a single feature, so instead of adding our own manifest, simply add it here |
|
|
|
|
|
|
|
class'MapList_Feature'.static.LoadConfigs(); |
|
|
|
|
|
|
|
availableFeatures[availableFeatures.length] = class'MapList_Feature'; |
|
|
|
for (i = 0; i < availableFeatures.length; i += 1) |
|
|
|
for (i = 0; i < availableFeatures.length; i += 1) |
|
|
|
{ |
|
|
|
{ |
|
|
|
autoConfig = availableFeatures[i].static.GetAutoEnabledConfig(); |
|
|
|
autoConfig = availableFeatures[i].static.GetAutoEnabledConfig(); |
|
|
|