mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
TargetWidget resolve obsoletes (#1290)
This commit is contained in:
parent
3bf1a05f7d
commit
1cc07cc3d1
1 changed files with 4 additions and 4 deletions
|
|
@ -65,20 +65,20 @@ internal class TargetWidget : IDataWindowWidget
|
|||
Util.PrintGameObject(targetMgr.SoftTarget, "SoftTarget", this.resolveGameData);
|
||||
|
||||
if (ImGui.Button("Clear CT"))
|
||||
targetMgr.ClearTarget();
|
||||
targetMgr.Target = null;
|
||||
|
||||
if (ImGui.Button("Clear FT"))
|
||||
targetMgr.ClearFocusTarget();
|
||||
targetMgr.FocusTarget = null;
|
||||
|
||||
var localPlayer = clientState.LocalPlayer;
|
||||
|
||||
if (localPlayer != null)
|
||||
{
|
||||
if (ImGui.Button("Set CT"))
|
||||
targetMgr.SetTarget(localPlayer);
|
||||
targetMgr.Target = localPlayer;
|
||||
|
||||
if (ImGui.Button("Set FT"))
|
||||
targetMgr.SetFocusTarget(localPlayer);
|
||||
targetMgr.FocusTarget = localPlayer;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue