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)