From 6c9d2d070f0bb98537f2a03d28ebfcc4438c568a Mon Sep 17 00:00:00 2001 From: Lukas Bagaric Date: Sat, 6 Apr 2024 22:30:26 +0200 Subject: [PATCH] Make HitFeedbackMessage Work Without ClientSettings --- Classes/IGPlus_HitFeedbackMessage.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/IGPlus_HitFeedbackMessage.uc b/Classes/IGPlus_HitFeedbackMessage.uc index 7a57487..0e2ab08 100644 --- a/Classes/IGPlus_HitFeedbackMessage.uc +++ b/Classes/IGPlus_HitFeedbackMessage.uc @@ -25,10 +25,10 @@ static function ClientReceive( if ((bInstigator || bViewTarget) == false) return; - if (Settings.HitMarkerSource == HMSRC_Server || bViewTarget) + if (bViewTarget || Settings == none || Settings.HitMarkerSource == HMSRC_Server) class'bbPlayerStatics'.static.PlayHitMarker(P, Settings, Abs(Sw), RelatedPRI_2.Team, RelatedPRI_1.Team); - if (Settings.HitSoundSource == HSSRC_Server || bViewTarget) + if (bViewTarget || Settings == none || Settings.HitSoundSource == HSSRC_Server) class'bbPlayerStatics'.static.PlayHitSound(P, Settings, Abs(Sw), RelatedPRI_2.Team, RelatedPRI_1.Team); }