From f096939f274107c1606015de409a5172c6b8959e Mon Sep 17 00:00:00 2001 From: Jordan Leppert Date: Sun, 20 Mar 2022 11:33:23 +0000 Subject: [PATCH] Restore 0.2 padding in pathfinder.moveable --- pathfinder.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pathfinder.lua b/pathfinder.lua index 0360a44..b4e2fe5 100644 --- a/pathfinder.lua +++ b/pathfinder.lua @@ -20,14 +20,14 @@ end local function moveable(pos, width, height) local pos1 = { - x = pos.x - width, + x = pos.x - (width + 0.2), y = pos.y, - z = pos.z - width, + z = pos.z - (width + 0.2), } local pos2 = { - x = pos.x + width, + x = pos.x + (width + 0.2), y = pos.y, - z = pos.z + width, + z = pos.z + (width + 0.2), } for z = pos1.z, pos2.z do for x = pos1.x, pos2.x do