fix: end marker window

This commit is contained in:
Anna 2021-01-22 14:16:16 -05:00
parent 201a4e6774
commit 3804b7af0f
1 changed files with 5 additions and 2 deletions

View File

@ -88,12 +88,12 @@ namespace PeepingTom {
}
if (!this.Plugin.Config.MarkTargeting) {
return;
goto EndDummy;
}
var player = this.Plugin.Interface.ClientState.LocalPlayer;
if (player == null) {
return;
goto EndDummy;
}
var targeting = this.Plugin.Watcher.CurrentTargeters
@ -104,6 +104,9 @@ namespace PeepingTom {
foreach (var targeter in targeting) {
this.MarkPlayer(targeter, this.Plugin.Config.TargetingColour, this.Plugin.Config.TargetingSize);
}
EndDummy:
ImGui.End();
}
private void ShowSettings() {