Skip to content

Commit

Permalink
fix atm toolgun offset
Browse files Browse the repository at this point in the history
  • Loading branch information
GlorifiedPig committed Dec 29, 2020
1 parent a3ca69f commit 83cf28b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/sh_glorifiedbanking_autoincluder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

GlorifiedBanking = GlorifiedBanking or {
Config = {},
Version = "3.0.0"
Version = "3.0.1"
}

print( "[GlorifiedBanking] This server is running version " .. GlorifiedBanking.Version .. "." )
Expand Down
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/gbatmplacer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ local function getAtmPos(tr, heightOffset, snap)
end
end

return tr.HitPos - (tr.HitNormal * -9.6) - Vector(0, 0, distToFloor - heightOffset), angles
return tr.HitPos - (tr.HitNormal * -9.6) - Vector(0, 0, distToFloor - heightOffset) + Vector( 6.5, 0, 0 ), angles
end

function TOOL:UpdateGhost(ent, ply)
Expand Down

0 comments on commit 83cf28b

Please sign in to comment.