|
|
|
@ -38,8 +38,6 @@ var protected config string acronym;
|
|
|
|
|
// Map prefix - only maps that start with specified prefix will be voteable for |
|
|
|
|
// this game mode (plain string) |
|
|
|
|
var protected config string mapPrefix; |
|
|
|
|
// TODO |
|
|
|
|
var protected config string mapList; |
|
|
|
|
|
|
|
|
|
// Aliases are an unnecessary overkill for difficulty names, so just define |
|
|
|
|
// them in special `string` arrays. |
|
|
|
@ -60,7 +58,6 @@ protected function DefaultIt()
|
|
|
|
|
gameTypeClass = "KFMod.KFGameType"; |
|
|
|
|
acronym = ""; |
|
|
|
|
mapPrefix = "KF"; |
|
|
|
|
mapList = "defaultHard"; |
|
|
|
|
includeFeature.length = 0; |
|
|
|
|
excludeFeature.length = 0; |
|
|
|
|
includeMutator.length = 0; |
|
|
|
@ -80,7 +77,6 @@ protected function HashTable ToData()
|
|
|
|
|
result.SetString(P("gameTypeClass"), gameTypeClass); |
|
|
|
|
result.SetString(P("acronym"), acronym); |
|
|
|
|
result.SetString(P("mapPrefix"), mapPrefix); |
|
|
|
|
result.SetString(P("mapList"), mapList); |
|
|
|
|
|
|
|
|
|
nextArray = _.collections.EmptyArrayList(); |
|
|
|
|
for (i = 0; i < option.length; i += 1) |
|
|
|
@ -110,7 +106,6 @@ protected function FromData(HashTable source)
|
|
|
|
|
gameTypeClass = source.GetString(P("gameTypeClass")); |
|
|
|
|
acronym = source.GetString(P("acronym")); |
|
|
|
|
mapPrefix = source.GetString(P("mapPrefix")); |
|
|
|
|
mapList = source.GetString(P("mapList")); |
|
|
|
|
|
|
|
|
|
nextArray = source.GetArrayList(P("option")); |
|
|
|
|
if (nextArray == none) { |
|
|
|
|