From e847807f9413df75349502e26b5afc08fca10a1a Mon Sep 17 00:00:00 2001 From: Chrostyy Date: Fri, 17 Jul 2026 00:58:28 +0530 Subject: [PATCH] Fix get_foreground_host_activity call for API 9 Replace deprecated _babase.get_foreground_host_activity() with bs.get_foreground_host_activity() to be compatible with BombSquad API 9. _babase private module calls died in API 9. --- .../mods/chathandle/chatcommands/commands/management.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/ba_root/mods/chathandle/chatcommands/commands/management.py b/dist/ba_root/mods/chathandle/chatcommands/commands/management.py index 28161d4..d125a5d 100644 --- a/dist/ba_root/mods/chathandle/chatcommands/commands/management.py +++ b/dist/ba_root/mods/chathandle/chatcommands/commands/management.py @@ -368,7 +368,7 @@ def remove(arguments): def slow_motion(): - activity = _babase.get_foreground_host_activity() + activity = bs.get_foreground_host_activity() if not activity.globalsnode.slow_motion: activity.globalsnode.slow_motion = True @@ -414,7 +414,7 @@ def tint(arguments): def pause(): - activity = _babase.get_foreground_host_activity() + activity = bs.get_foreground_host_activity() if not activity.globalsnode.paused: activity.globalsnode.paused = True @@ -424,7 +424,7 @@ def pause(): def rotate_camera(): - activity = _babase.get_foreground_host_activity() + activity = bs.get_foreground_host_activity() if activity.globalsnode.camera_mode != 'rotate': activity.globalsnode.camera_mode = 'rotate'