mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
Remove afk delay on mobile
This commit is contained in:
1 parent
ab33090eb6
commit
5860171184
3 files changed
+3
-3
No files matched your search
@@ -32,7 +32,7 @@ const HOP_SPEED = CONFIG.hopSpeed;
|
|||||||
const FLY_SPEED = CONFIG.flySpeed;
|
const FLY_SPEED = CONFIG.flySpeed;
|
||||||
const HOP_DISTANCE = CONFIG.hopDistance;
|
const HOP_DISTANCE = CONFIG.hopDistance;
|
||||||
// Time in milliseconds until the user is considered AFK
|
// 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 SPRITE_HEIGHT = 32;
|
||||||
const MENU_ID = "birb-menu";
|
const MENU_ID = "birb-menu";
|
||||||
const MENU_EXIT_ID = "birb-menu-exit";
|
const MENU_EXIT_ID = "birb-menu-exit";
|
||||||
|
|||||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ const HOP_SPEED = CONFIG.hopSpeed;
|
|||||||
const FLY_SPEED = CONFIG.flySpeed;
|
const FLY_SPEED = CONFIG.flySpeed;
|
||||||
const HOP_DISTANCE = CONFIG.hopDistance;
|
const HOP_DISTANCE = CONFIG.hopDistance;
|
||||||
// Time in milliseconds until the user is considered AFK
|
// 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 SPRITE_HEIGHT = 32;
|
||||||
const MENU_ID = "birb-menu";
|
const MENU_ID = "birb-menu";
|
||||||
const MENU_EXIT_ID = "birb-menu-exit";
|
const MENU_EXIT_ID = "birb-menu-exit";
|
||||||
|
|||||||
Vendored
+1
-1
@@ -46,7 +46,7 @@ const HOP_SPEED = CONFIG.hopSpeed;
|
|||||||
const FLY_SPEED = CONFIG.flySpeed;
|
const FLY_SPEED = CONFIG.flySpeed;
|
||||||
const HOP_DISTANCE = CONFIG.hopDistance;
|
const HOP_DISTANCE = CONFIG.hopDistance;
|
||||||
// Time in milliseconds until the user is considered AFK
|
// 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 SPRITE_HEIGHT = 32;
|
||||||
const MENU_ID = "birb-menu";
|
const MENU_ID = "birb-menu";
|
||||||
const MENU_EXIT_ID = "birb-menu-exit";
|
const MENU_EXIT_ID = "birb-menu-exit";
|
||||||
|
|||||||
Reference in new issue
Block a user