fixed bullet pass sounds not having to_player property
This commit is contained in:
parent
ca2144b046
commit
8212981d2d
@ -325,6 +325,7 @@ function ray:play_bullet_pass_sounds()
|
||||
sounds[1].gain = sounds[1].gain*mix_ratio --supersonic
|
||||
sounds[2].gain = sounds[2].gain*(1-mix_ratio) --subsonic
|
||||
sounds.pos = nearest
|
||||
sounds.to_player = player:get_player_name()
|
||||
Guns4d.play_sounds(sounds)
|
||||
|
||||
local sound = self.pass_sounds.subsonic
|
||||
|
Loading…
x
Reference in New Issue
Block a user