Skip to content

Commit

Permalink
fix: Duplicated print at the chat
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Jan 26, 2024
1 parent 43a5496 commit bcdebeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- 2024.01.26 - V2.0.1

- fix: Transation bug at console print
- fix: Duplicated print at the chat

-- 2024.01.26 - V2.0.0

Expand Down
2 changes: 1 addition & 1 deletion src/K4ryuuDamageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private HookResult OnRoundEnd(EventRoundEnd @event, GameEventInfo info)

foreach (CCSPlayerController target in players)
{
if (target is null || !target.IsValid || !target.PlayerPawn.IsValid || target.IsBot || target.IsHLTV)
if (target is null || !target.IsValid || !target.PlayerPawn.IsValid || target.IsBot || target.IsHLTV || !target.PawnIsAlive)
continue;

DisplayDamageInfo(target);
Expand Down

0 comments on commit bcdebeb

Please sign in to comment.