Voice chat fix

master
AlmTech Software 5 years ago
parent 6e5f8bd85f
commit 0a12df1522
  1. 2
      gamemode/engine/core/server/sv_player_voice.lua

@ -6,5 +6,5 @@
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/ -- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
function GM:PlayerCanHearPlayersVoice( lis, talk ) function GM:PlayerCanHearPlayersVoice( lis, talk )
if( lis:GetPos():Distance( talk:GetPos() ) <= Quantum.Server.Settings.VoiceChatRange ) then return false, true end if( lis:GetPos():Distance( talk:GetPos() ) > Quantum.Server.Settings.VoiceChatRange ) then return false, true end
end end
Loading…
Cancel
Save