patch for vector4

This commit is contained in:
MrNewb committed 2025-08-16 05:56:25 -04:00
1 parent defc7c0e8b
commit 0fc872a102
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ function Point.StartLoop()
end
end
else
local distance = #(coords.xyz - point.coords.xyz)
local distance = #(vector3(coords.x, coords.y, coords.z) - vector3(point.coords.x, point.coords.y, point.coords.z))
if distance < point.distance then
if not point.inside then
point.inside = true