public static void DoRemoveFromModListFloatMenu(ModButton_Installed mod) { var options = ListsFor(mod) .Select(l => new FloatMenuOption(I18n.RemoveFromModListX(l.Name), () => l.Remove(mod.Selected))) .ToList(); Utilities.FloatMenu(options); }