mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
[ci] auto-format
This commit is contained in:
parent
836e91d6a3
commit
464eb7c645
1 changed files with 3 additions and 3 deletions
|
|
@ -178,6 +178,7 @@ def main(plugin: Plugin) -> None:
|
||||||
app.practice_tool = plugin
|
app.practice_tool = plugin
|
||||||
redefine_class(OriginalPartyWindow, PartyWindow)
|
redefine_class(OriginalPartyWindow, PartyWindow)
|
||||||
|
|
||||||
|
|
||||||
class NewMainMenuWindow(mainmenu.MainMenuWindow):
|
class NewMainMenuWindow(mainmenu.MainMenuWindow):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
@ -186,6 +187,8 @@ class NewMainMenuWindow(mainmenu.MainMenuWindow):
|
||||||
|
|
||||||
# ba_meta require api 8
|
# ba_meta require api 8
|
||||||
# ba_meta export plugin
|
# ba_meta export plugin
|
||||||
|
|
||||||
|
|
||||||
class Practice(Plugin):
|
class Practice(Plugin):
|
||||||
__version__ = version
|
__version__ = version
|
||||||
|
|
||||||
|
|
@ -542,7 +545,6 @@ def doTestButton(self):
|
||||||
bs.screenmessage('Only works on local games.', color=(.8, .8, .1))
|
bs.screenmessage('Only works on local games.', color=(.8, .8, .1))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -599,7 +601,6 @@ class NewBotSet(SpazBotSet):
|
||||||
bot.set_player_points(player_pts)
|
bot.set_player_points(player_pts)
|
||||||
bot.update_ai()
|
bot.update_ai()
|
||||||
|
|
||||||
|
|
||||||
def clear(self) -> None:
|
def clear(self) -> None:
|
||||||
"""Immediately clear out any bots in the set."""
|
"""Immediately clear out any bots in the set."""
|
||||||
# Don't do this if the activity is shutting down or dead.
|
# Don't do this if the activity is shutting down or dead.
|
||||||
|
|
@ -2346,4 +2347,3 @@ class InfoWindow(popup.PopupWindow):
|
||||||
def on_popup_cancel(self) -> None:
|
def on_popup_cancel(self) -> None:
|
||||||
bui.getsound('swish').play()
|
bui.getsound('swish').play()
|
||||||
self._transition_out()
|
self._transition_out()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue