From 640c59be0feec50c0032b00627b942ebe780f6fe Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 22 Jan 2022 20:24:25 -0500 Subject: [PATCH] reduce frame delay between pathfinds --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 6aa70667..36d5ff5e 100644 --- a/main.lua +++ b/main.lua @@ -843,7 +843,7 @@ local function attemptPathfind(entity) entity:GetData()["EID_Pathfound"] = true return true end - if entity.Index == lastPathfindIndex and EID.GameUpdateCount - lastPathfindFrame < 30 then return false end + if entity.Index == lastPathfindIndex and EID.GameUpdateCount - lastPathfindFrame < 10 then return false end -- Spawn a custom NPC entity to attempt a pathfind to the target pickup, then remove it afterwards pathCheckerEntity = game:Spawn(17, 3169, EID.player.Position, nullVector, EID.player, 0, 4354)