mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
Update voice_hud.lua (#105)
This commit is contained in:
parent
0090d82aad
commit
5baff34109
@ -98,8 +98,7 @@ function PANEL:Paint(w, h)
|
||||
self.NextVoiceData = CurTime() + 0.025
|
||||
end
|
||||
|
||||
local wep = LocalPlayer():GetActiveWeapon()
|
||||
if IsValid(wep) and wep:GetClass() == "gmod_camera" then return end
|
||||
if hook.Run("HUDShouldDraw","CHudVoiceStatus") == false then return end
|
||||
|
||||
local bg_color = EasyChat.OutlayColor
|
||||
surface.SetDrawColor(bg_color.r, bg_color.g, bg_color.b, bg_color.a)
|
||||
|
Loading…
Reference in New Issue
Block a user