private static void UpdateSelectedMap() { var Key = CustomMapOption.GetText(); SelectedMap = (Key == CustomMapType.NONE_MAP || Key == null) ? null : Maps[Key]; }
public static void Register(CustomMapType MapType) { Maps.Add(MapType.Key, MapType); RegenerateOption(); }