From 8d28ffcbe7a487a00b65d38d8bc2d25f0de60f76 Mon Sep 17 00:00:00 2001 From: Julian Rowe Date: Thu, 4 May 2017 19:48:13 -0500 Subject: [PATCH] A small edit to prevent the bot from stoping --- src/hacks/FollowBot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hacks/FollowBot.cpp b/src/hacks/FollowBot.cpp index efbad51f..e07a58ed 100644 --- a/src/hacks/FollowBot.cpp +++ b/src/hacks/FollowBot.cpp @@ -447,7 +447,7 @@ void DoWalking() { //When the player is not visible to the bot, within 5 seconds of it not being visible we stop the bot and wait for the player to collect it if (!found_entity->IsVisible()) { - if (g_GlobalVars->curtime - 5.0F > crumbWaitVis) { + if (g_GlobalVars->curtime - 5.0F > crumbWaitVis && g_GlobalVars->curtime - 2.5F > crumbWaitPrune) { //crumbStopped = true; logging::Info("Crumb Lost!"); }