Skip to content

Commit

Permalink
Send adjustable sounds unreliably
Browse files Browse the repository at this point in the history
Should help address the second issue in #392
  • Loading branch information
thecraftianman committed Mar 22, 2024
1 parent d0193d7 commit e1a5d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/acf/core/utilities/sounds/sounds_sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function Sounds.SendAdjustableSound(Origin, ShouldStop, Pitch, Volume)

-- Slowing down the rate of sending a bit
if Origin.ACF.SoundTimer <= Time or ShouldStop then
net.Start("ACF_Sounds_Adjustable")
net.Start("ACF_Sounds_Adjustable", true)
net.WriteEntity(Origin)
net.WriteBool(ShouldStop)
if not ShouldStop then
Expand Down

0 comments on commit e1a5d73

Please sign in to comment.