public void ModProblemOverwrite(string InitModName, string InitModPath, string InitDescription, bool InitIsError) { ModProblems.AllModProblems.Remove(InitModPath); ModProblems.AddModProblem(InitModName, InitModPath, InitDescription, InitIsError); foreach (IGui_GuiSystem guiSystem in GuiDisplayer.GetSingleton().ActiveGuis) { guiSystem.OnActivateGui(); } }
public void ModProblemOverwrite(string name, string path, string description, bool isError) { ModProblems.AllModProblems.Remove(path); ModProblems.AddModProblem(name, path, description, isError); }