mirror of
https://github.com/CFC-Servers/chucks_weaponry_2.0.git
synced 2025-03-04 03:13:12 -05:00
Fix HUD error (#12)
This commit is contained in:
parent
17f88a9363
commit
f49cf70e10
@ -17,6 +17,7 @@ local function CW_HUDShouldDraw( n )
|
||||
if not hudEnabled and not ammoEnabled then return end
|
||||
|
||||
local ply = LocalPlayer()
|
||||
if ply == NULL then return end
|
||||
if not ply:Alive() then return end
|
||||
|
||||
local currentWeapon = ply:GetActiveWeapon()
|
||||
|
Loading…
Reference in New Issue
Block a user