Fixed an issue with gizmo offset not getting reset properly as vector_origin constant was getting the same value as the gizmo offset for some reason? no idea why that was happening, neither does anything inside of ragdoll mover overwrite vector_origin

This commit is contained in:
penolakushari 2023-04-10 21:22:56 +03:00
parent 1acbde0c62
commit f39a63830d

View File

@ -414,7 +414,7 @@ end)
net.Receive("rgmResetGizmo", function(len, pl)
if not pl.rgm then return end
pl.rgm.GizmoOffset = vector_origin
pl.rgm.GizmoOffset = Vector(0, 0, 0)
net.Start("rgmUpdateGizmo")
net.WriteVector(pl.rgm.GizmoOffset)