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";