diff --git a/gamemode/engine/core/server/sv_player_voice.lua b/gamemode/engine/core/server/sv_player_voice.lua index 43c634b..5f8bb21 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