public static void DoAddToModListFloatMenu(ModButton_Installed mod) { var cur = ListsFor(mod); var options = ModLists .Where(l => !cur.Contains(l)) .Select(l => new FloatMenuOption(I18n.AddToModListX(l.Name), () => l.Add(mod.Selected))) .ToList(); Utilities.FloatMenu(options); }