mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
Inverted the angle
This commit is contained in:
parent
900d1e955f
commit
e723175b09
@ -122,7 +122,7 @@ if CLIENT then
|
||||
panel:AppendClickableText(text, function()
|
||||
if IsValid(ent) then
|
||||
local lp = LocalPlayer()
|
||||
lp:SetEyeAngles((lp:EyePos() - ent:WorldSpaceCenter()):Angle())
|
||||
lp:SetEyeAngles((ent:WorldSpaceCenter() - lp:EyePos()):Angle())
|
||||
end
|
||||
|
||||
local frame = EasyChat.CreateFrame()
|
||||
|
Loading…
Reference in New Issue
Block a user