From 0a12df15220c83057a43baf08cf01b449c4b606d Mon Sep 17 00:00:00 2001 From: AlmTech Software Date: Fri, 22 Nov 2019 22:48:42 +0100 Subject: [PATCH] Voice chat fix --- gamemode/engine/core/server/sv_player_voice.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/engine/core/server/sv_player_voice.lua b/gamemode/engine/core/server/sv_player_voice.lua index 5f8bb21..43c634b 100644 --- a/gamemode/engine/core/server/sv_player_voice.lua +++ b/gamemode/engine/core/server/sv_player_voice.lua @@ -6,5 +6,5 @@ -- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/ 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 \ No newline at end of file