refactor: move dalamud init logic out of ctor, AntiDebug cleanup(WIP!!1!!!!)

This commit is contained in:
goat 2021-01-19 22:23:01 +01:00
parent 3d32d9c59c
commit 5df28e4e22
4 changed files with 106 additions and 106 deletions

View file

@ -108,7 +108,7 @@ namespace Dalamud.Interface
ImGui.EndMenu();
}
if (this.dalamud.AntiDebug == null && ImGui.MenuItem("Enable AntiDebug"))
if (ImGui.MenuItem("Enable AntiDebug", null, this.dalamud.AntiDebug.IsEnabled))
{
this.dalamud.AntiDebug.Enable();
}