Skip to content

Commit

Permalink
Make HitFeedbackMessage Work Without ClientSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Apr 6, 2024
1 parent adbc2ed commit 6c9d2d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/IGPlus_HitFeedbackMessage.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 6c9d2d0

Please sign in to comment.