Permalink
Browse files

Fixed widget_base producing Lua errors

  • Loading branch information...
robotboy655 committed Nov 28, 2016
1 parent 9f28ca5 commit 4f651b5df49fbe20f4bdbfb6754904df862c938c
Showing with 2 additions and 2 deletions.
  1. +2 −2 garrysmod/lua/entities/widget_base.lua
@@ -199,10 +199,10 @@ function ENT:OverlayRender()
local vSize = Vector( self:GetSize(), self:GetSize(), self:GetSize() )
render.SetColorMaterialIgnoreZ()
render.DrawCube( self:GetPos(), vSize, ColorAlpha( col, 0.8 ), false )
render.DrawBox( self:GetPos(), self:GetAngles(), -vSize, vSize, ColorAlpha( col, 0.8 ), false )
render.SetColorMaterial()
render.DrawCube( self:GetPos(), vSize, col, false )
render.DrawBox( self:GetPos(), self:GetAngles(), -vSize, vSize, col, false )
end

0 comments on commit 4f651b5

Please sign in to comment.