Update lua/autorun/server/anti_mute_evasion.lua

Co-authored-by: Brandon Sturgeon <sturgeonb4@gmail.com>
This commit is contained in:
pierce 2021-01-25 11:41:41 -05:00
parent d7d35ad41e
commit 38d3f287b8

View File

@ -10,7 +10,7 @@ local isBannedWhileMuted = {
hook.Add( "ULibCommandCalled", "CFC_AntiUnmute_PreventUnmute", function( ply, commandName, args )
if not isBannedWhileMuted[commandName] then return end
if ply.gimp == ID_MUTE then
ULib.tsayError( ply, "you can't do that while muted" )
ULib.tsayError( ply, "You can't do that while muted" )
return false
end
end )