From 7ad11b91da0a8479487123716866587ec7f66f96 Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD <90267658+Loup-Garou911XD@users.noreply.github.com> Date: Sun, 4 Jan 2026 18:57:23 +0530 Subject: [PATCH 1/2] update character chooser to fix #411 --- plugins/utilities.json | 3 ++- plugins/utilities/character_chooser.py | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 34ec19f..43fe499 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1244,6 +1244,7 @@ } ], "versions": { + "2.2.2": null, "2.2.1": { "api_version": 9, "commit_sha": "e604a3c", @@ -2340,4 +2341,4 @@ } } } -} \ No newline at end of file +} diff --git a/plugins/utilities/character_chooser.py b/plugins/utilities/character_chooser.py index 502672c..e0f0edf 100644 --- a/plugins/utilities/character_chooser.py +++ b/plugins/utilities/character_chooser.py @@ -154,15 +154,13 @@ def __init__(self, vpos: float, sessionplayer: bs.SessionPlayer, def _set_ready(self, ready: bool) -> None: # pylint: disable=cyclic-import - from bauiv1lib.profile import browser as pbrowser from babase._general import Call profilename = self._profilenames[self._profileindex] # Handle '_edit' as a special case. if profilename == '_edit' and ready: with _babase.Context('ui'): - pbrowser.ProfileBrowserWindow(in_main_menu=False) - + babase.app.classic.profile_browser_window() # Give their input-device UI ownership too # (prevent someone else from snatching it in crowded games) _babase.set_ui_input_device(self._sessionplayer.inputdevice) From 8e4e1b23a7b8cb521bc2b105fc1d41e9273994bf Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD <90267658+Loup-Garou911XD@users.noreply.github.com> Date: Sun, 4 Jan 2026 13:28:12 +0000 Subject: [PATCH 2/2] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 43fe499..26f864b 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1244,7 +1244,12 @@ } ], "versions": { - "2.2.2": null, + "2.2.2": { + "api_version": 9, + "commit_sha": "7ad11b9", + "released_on": "04-01-2026", + "md5sum": "c7fb5f1c2be9ef3b1fd35177c434dc34" + }, "2.2.1": { "api_version": 9, "commit_sha": "e604a3c", @@ -2341,4 +2346,4 @@ } } } -} +} \ No newline at end of file