1
0
mirror of https://github.com/kythre/Buildmode-ULX.git synced 2025-03-04 03:03:04 -05:00
This commit is contained in:
kythre 2021-02-20 18:02:31 -06:00
parent 652f20972d
commit c44ad14b16

View File

@ -725,7 +725,7 @@ hook.Add("PreDrawHalos", "KyleBuildmodehalos", function()
end
else
local z = LocalPlayer():GetEyeTrace().Entity
if z:Alive() and z:GetRenderMode() != RENDERMODE_TRANSALPHA then
if z:IsPlayer() and z:Alive() and z:GetRenderMode() != RENDERMODE_TRANSALPHA then
if z:GetNWBool("_Kyle_Buildmode") then
table.insert(w, z)
else