void notEnabled(string name, string version, string settings, PolyTechMod currMod) { ptfInstance.ptfLogger.LogWarning("Mod in layout present but not enabled."); PopUpTwoChoices.Display( $"Mod ({name}) in layout present but not enabled.", "Enable Mod", "Ignore Warning", () => { currMod.enableMod(); checkMods(3, name, version, settings, currMod); }, () => { ptfInstance.ptfLogger.LogWarning("Ignored the mod being disabled"); checkMods(3, name, version, settings, currMod); } ); }