Skip to content

Commit

Permalink
Removed Debug [PUSH]
Browse files Browse the repository at this point in the history
  • Loading branch information
InitialDet committed Jul 13, 2024
1 parent 14b6361 commit d36971d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions TargetFurniture/ContextMenuHousing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ private void SetFurnitureActive(IMenuItemClickedArgs args)
if (Service.Memory.HousingStructure->Mode == HousingLayoutMode.Rotate &&
Service.Memory.HousingStructure->State == ItemState.SoftSelect)
{
Service.PluginLog.Debug("1");
Service.Memory.SelectItem((IntPtr)Service.Memory.HousingStructure,
(IntPtr)Service.Memory.HousingStructure->ActiveItem);
}
Expand All @@ -52,18 +51,12 @@ private void SetFurnitureActive(IMenuItemClickedArgs args)
}
else
{
Service.PluginLog.Debug("3");
// To make the item follow the cursor you need to retarget it, for reasons idk you need a small delay before the second target for it to work
TargetItem();
if (Service.Configuration.MoveToCursor)
AwaitingTarget.WaitingRetarget();
//PluginLog.Debug($"Finished");
}
}
else
{
Service.PluginLog.Debug("None");
}
}

public static void TargetItem()
Expand Down

0 comments on commit d36971d

Please sign in to comment.