1
0
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:
Earu 2021-05-16 18:01:27 +02:00
parent 900d1e955f
commit e723175b09

View File

@ -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()