1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00
This commit is contained in:
Earu 2022-11-23 23:22:08 +01:00
parent 1dd0514b12
commit 05d41328ca

View File

@ -272,7 +272,7 @@ if SERVER then
end
local get_steam_id = FindMetaTable("Player").SteamID
local is_ply_blocked = EasyCHat.IsBlockedPlayer
local is_ply_blocked = EasyChat.IsBlockedPlayer
function EasyChat.PlayerCanHearPlayersVoice(listener, talker)
if is_ply_blocked(listener, get_steam_id(talker)) then return false end
end