@@ -139,6 +139,10 @@ void KZJumpstatsService::PrintJumpToConsole(KZPlayer *target, Jump *jump, bool b
139139 {
140140 return ;
141141 }
142+ if (broadcast && jump->GetOffset () <= -JS_EPSILON)
143+ {
144+ return ;
145+ }
142146
143147 JumpType reportType = jump->GetReportJumpType ();
144148 DistanceTier color = jump->GetJumpPlayer ()->modeService ->GetDistanceTier (reportType, jump->GetDistance ());
@@ -317,6 +321,10 @@ void KZJumpstatsService::BroadcastJumpToChat(KZPlayer *target, Jump *jump)
317321 {
318322 return ;
319323 }
324+ if (jump->GetOffset () <= -JS_EPSILON)
325+ {
326+ return ;
327+ }
320328 DistanceTier tier = jump->GetJumpPlayer ()->modeService ->GetDistanceTier (jump->GetReportJumpType (), jump->GetDistance ());
321329 if (tier == DistanceTier_None)
322330 {
@@ -346,6 +354,10 @@ void KZJumpstatsService::BroadcastJumpToChat(KZPlayer *target, Jump *jump)
346354
347355void KZJumpstatsService::PlayJumpstatSound (KZPlayer *target, Jump *jump, bool broadcast)
348356{
357+ if (broadcast && jump->GetOffset () <= -JS_EPSILON)
358+ {
359+ return ;
360+ }
349361 DistanceTier tier = jump->GetJumpPlayer ()->modeService ->GetDistanceTier (jump->GetReportJumpType (), jump->GetDistance ());
350362 DistanceTier soundMinTier =
351363 broadcast ? static_cast <DistanceTier>(target->optionService ->GetPreferenceInt (
@@ -412,6 +424,10 @@ void KZJumpstatsService::AnnounceJump(Jump *jump)
412424 {
413425 continue ;
414426 }
427+ if (jump->GetOffset () <= -JS_EPSILON)
428+ {
429+ continue ;
430+ }
415431 if (!player->optionService ->GetPreferenceBool (" jsReporting" , true ))
416432 {
417433 continue ;
0 commit comments