Skip to content

Commit

Permalink
Merge pull request #23 from jsebold666/hotfix-healtbard-old
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
jsebold666 authored Mar 14, 2024
2 parents 7a5592c + cc98484 commit 0f2c9a5
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 0f2c9a5

Please sign in to comment.