Skip to content

Commit

Permalink
add missing check on sound layer 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbyperson committed Nov 18, 2024
1 parent 30107e6 commit 59683ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ void function PlayerPainSoundThread()
ourPlayer = localViewPlayer
soundLayer3Loop = GetPainSound( ourPlayer, "sound_pain_layer3_loop" )
soundLayer3End = GetPainSound( ourPlayer, "sound_pain_layer3_end" )
EmitSoundOnEntity( ourPlayer, soundLayer3Loop )
if ( soundLayer3Loop != "" )
EmitSoundOnEntity( ourPlayer, soundLayer3Loop )
}
else
{
Expand Down

0 comments on commit 59683ed

Please sign in to comment.