Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannsebold6666 committed Mar 14, 2024
1 parent 7a5592c commit cc98484
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ClassicUO.Client/Game/UI/Gumps/HealthBarGump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,11 @@ protected override void OnMouseDown(int x, int y, MouseButtonType button)

else
{
TargetManager.LastTargetInfo.Serial = LocalEntity.Serial;
GameActions.Print(World.Player, $"Target: {LocalEntity.Name}");
if (LocalEntity != null && LocalEntity.Serial != default)
{
TargetManager.LastTargetInfo.Serial = LocalEntity.Serial;
}

}
// ## BEGIN - END ## // MISC
Mouse.LastLeftButtonClickTime = 0;
Expand Down

0 comments on commit cc98484

Please sign in to comment.