Permalink
Browse files

Fixed a small issue with Paint tool

Paitning below your feet now works
  • Loading branch information...
robotboy655 committed Feb 9, 2017
1 parent eef8c2b commit c195556e316eaa081b13cf5318d8ea6f6036fe98
Showing with 1 addition and 1 deletion.
  1. +1 −1 garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/stools/paint.lua
@@ -22,7 +22,7 @@ local function PlaceDecal( ply, ent, data )
if ( !IsValid( bone ) ) then bone = ent end
if ( SERVER ) then
util.Decal( data.decal, bone:LocalToWorld( data.Pos1 ), bone:LocalToWorld( data.Pos2 ) )
util.Decal( data.decal, bone:LocalToWorld( data.Pos1 ), bone:LocalToWorld( data.Pos2 ), ply )
local i = ent.DecalCount or 0
i = i + 1

0 comments on commit c195556

Please sign in to comment.