From f40fadc72117be3ea8b5368aeef2a8649762d82d Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 4 Jan 2016 13:54:27 -0500 Subject: Added angle snapping --- gamemode/shared/player_ghost.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'gamemode/shared/player_ghost.lua') diff --git a/gamemode/shared/player_ghost.lua b/gamemode/shared/player_ghost.lua index d2eade8..7cf11d0 100644 --- a/gamemode/shared/player_ghost.lua +++ b/gamemode/shared/player_ghost.lua @@ -58,6 +58,7 @@ else Pos.x = Pos.x - (Pos.x%20) Pos.y = Pos.y - (Pos.y%20) Pos.z = Pos.z - (Pos.z%20) + Aim.yaw = Aim.yaw - (Aim.yaw%15) end for k,v in pairs(pl.GhostItem.Ghost) do -- cgit v1.2.3-70-g09d2