aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/player_ghost.lua
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-04 13:54:27 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-04 13:54:27 -0500
commitf40fadc72117be3ea8b5368aeef2a8649762d82d (patch)
tree32b569051a830f1ac25a797701c32993094583c1 /gamemode/shared/player_ghost.lua
parent698b6eedf1d6d2806c77895775bcf8245ce02229 (diff)
downloadwintersurvival2-f40fadc72117be3ea8b5368aeef2a8649762d82d.tar.gz
wintersurvival2-f40fadc72117be3ea8b5368aeef2a8649762d82d.tar.bz2
wintersurvival2-f40fadc72117be3ea8b5368aeef2a8649762d82d.zip
Added angle snapping
Diffstat (limited to 'gamemode/shared/player_ghost.lua')
-rw-r--r--gamemode/shared/player_ghost.lua1
1 files changed, 1 insertions, 0 deletions
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