mirror of
https://github.com/Xerasin/Sit-Anywhere.git
synced 2025-03-04 03:13:07 -05:00
Merge branch 'master' into metaStripped
This commit is contained in:
commit
a06d83f55f
@ -268,7 +268,7 @@ function META.Sit(ply, EyeTrace, ang, parent, parentbone, func, exit, wantedAng)
|
||||
|
||||
if wantedAng and math.abs(surfaceAng.pitch) <= 15 then
|
||||
ent = EyeTrace.Entity
|
||||
if EyeTrace.HitWorld and not ent:IsPlayer() then
|
||||
if EyeTrace.HitWorld or not ent:IsPlayer() then
|
||||
if SitAnywhere.CheckValidAngForSit(EyeTrace.HitPos, EyeTrace.HitNormal:Angle(), wantedAng) then
|
||||
ang.yaw = wantedAng + 90
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user