Skip to content

Commit

Permalink
Fix #3261 (#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Astralcircle authored Feb 10, 2025
1 parent b6085e5 commit f5e78e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/gmod_wire_expression2/core/hologram.lua
Original file line number Diff line number Diff line change
Expand Up @@ -984,13 +984,15 @@ e2function void holoClip(index, clipidx, vector origin, vector normal, isglobal)
end

e2function void holoClip(index, vector origin, vector normal, entity localent) -- Clip at first index
if not IsValid(localent) then return self:throw("Invalid entity!", nil) end
local Holo = CheckIndex(self, index)
if not Holo then return end

set_clip(Holo, 1, Vector(origin[1], origin[2], origin[3]), Vector(normal[1], normal[2], normal[3]), localent:EntIndex())
end

e2function void holoClip(index, clipidx, vector origin, vector normal, entity localent)
if not IsValid(localent) then return self:throw("Invalid entity!", nil) end
local Holo = CheckIndex(self, index)
if not Holo then return end

Expand Down

0 comments on commit f5e78e1

Please sign in to comment.