Browse Source

Change 1e6 to math.huge;

bjorn 4 years ago
parent
commit
6b788dc02f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pointer.lua

+ 1 - 1
pointer.lua

@@ -26,7 +26,7 @@ function pointer:update()
   local tx, ty, tz = x + dx * r, y + dy * r, z + dz * r
 
   if self.world then
-    local closest = 1e6
+    local closest = math.huge
 
     self.hit = nil