mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 00:30:22 +08:00
Removing unwanted code
This commit is contained in:
parent
af215c082f
commit
74c4a6c357
@ -594,13 +594,4 @@ class InGameMenuWindow(bui.MainWindow):
|
|||||||
classic.main_menu_resume_callbacks.clear()
|
classic.main_menu_resume_callbacks.clear()
|
||||||
|
|
||||||
def __del__(self) -> None:
|
def __del__(self) -> None:
|
||||||
from bascenev1lib.tutorial import TutorialActivity
|
self._resume()
|
||||||
activity = bs.get_foreground_host_activity()
|
|
||||||
|
|
||||||
if isinstance(activity, (bs.GameActivity, TutorialActivity)):
|
|
||||||
classic = bui.app.classic
|
|
||||||
|
|
||||||
assert classic is not None
|
|
||||||
classic.resume()
|
|
||||||
|
|
||||||
bui.app.ui_v1.clear_main_window()
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user