diff --git a/CHANGELOG b/CHANGELOG index 16020ed..863a937 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/src/K4ryuuDamageInfo.cs b/src/K4ryuuDamageInfo.cs index f69d14d..ac6b486 100644 --- a/src/K4ryuuDamageInfo.cs +++ b/src/K4ryuuDamageInfo.cs @@ -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);