From 5860171184dca45e63d4f869279e82d8f33b9b1a Mon Sep 17 00:00:00 2001 From: Idrees Hassan Date: Wed, 22 Oct 2025 21:46:12 -0400 Subject: [PATCH] Remove afk delay on mobile --- birb.js | 2 +- dist/birb.js | 2 +- dist/birb.user.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/birb.js b/birb.js index 4a416e9..8c365af 100644 --- a/birb.js +++ b/birb.js @@ -32,7 +32,7 @@ const HOP_SPEED = CONFIG.hopSpeed; const FLY_SPEED = CONFIG.flySpeed; const HOP_DISTANCE = CONFIG.hopDistance; // Time in milliseconds until the user is considered AFK -const AFK_TIME = debugMode ? 0 : 1000 * 30; +const AFK_TIME = (debugMode || isMobile()) ? 0 : 1000 * 30; const SPRITE_HEIGHT = 32; const MENU_ID = "birb-menu"; const MENU_EXIT_ID = "birb-menu-exit"; diff --git a/dist/birb.js b/dist/birb.js index 9c192d2..443547b 100644 --- a/dist/birb.js +++ b/dist/birb.js @@ -32,7 +32,7 @@ const HOP_SPEED = CONFIG.hopSpeed; const FLY_SPEED = CONFIG.flySpeed; const HOP_DISTANCE = CONFIG.hopDistance; // Time in milliseconds until the user is considered AFK -const AFK_TIME = debugMode ? 0 : 1000 * 30; +const AFK_TIME = (debugMode || isMobile()) ? 0 : 1000 * 30; const SPRITE_HEIGHT = 32; const MENU_ID = "birb-menu"; const MENU_EXIT_ID = "birb-menu-exit"; diff --git a/dist/birb.user.js b/dist/birb.user.js index 37cd231..25d0745 100644 --- a/dist/birb.user.js +++ b/dist/birb.user.js @@ -46,7 +46,7 @@ const HOP_SPEED = CONFIG.hopSpeed; const FLY_SPEED = CONFIG.flySpeed; const HOP_DISTANCE = CONFIG.hopDistance; // Time in milliseconds until the user is considered AFK -const AFK_TIME = debugMode ? 0 : 1000 * 30; +const AFK_TIME = (debugMode || isMobile()) ? 0 : 1000 * 30; const SPRITE_HEIGHT = 32; const MENU_ID = "birb-menu"; const MENU_EXIT_ID = "birb-menu-exit";