Skip to content

Commit

Permalink
Removed: Semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Mar 31, 2023
1 parent bd22df4 commit 9d1c853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/laserlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ function LaserLib.GetTransformUnit(ent)
if(not dir) then dir = (ent.GetNormalLocal and ent:GetNormalLocal() or nil) end
if(not (org and dir)) then return end
local pos, ang = ent:GetPos(), ent:GetAngles()
local vor = Vector(org); vor:Rotate(ang); vor:Add(pos);
local vor = Vector(org); vor:Rotate(ang); vor:Add(pos)
local vdr = Vector(dir); vdr:Rotate(ang)
return vor, vdr
end
Expand Down
4 changes: 2 additions & 2 deletions lua/entities/gmod_laser_portal/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ function ENT:DrawTransfer(ang)
local fit, mrg = self:IsTrueExit(), 5
local r, w, h = 8, surface.GetTextSize(txt)

cam.Start3D2D(pos, ang, 0.16);
cam.Start3D2D(pos, ang, 0.16)
self:DrawOverlay(r, w, h, mrg, BACKGR)
if(fit) then self:DrawOverlay(r, w, h, mrg / 2, FOREGR) end
draw.SimpleText(txt,DRFONT,0,-2,BLACK,TEXT_ALIGN_CENTER,TEXT_ALIGN_CENTER)
cam.End3D2D();
cam.End3D2D()
end

function ENT:Draw()
Expand Down

0 comments on commit 9d1c853

Please sign in to comment.