1
0
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:
Brandon Sturgeon 2024-01-20 16:57:48 -08:00 committed by GitHub
parent 17f88a9363
commit f49cf70e10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()