[ci] auto-format

This commit is contained in:
brostosjoined 2024-02-01 10:09:19 +00:00 committed by github-actions[bot]
parent 0fd7c5bed1
commit 4941d0cb0e
3 changed files with 566 additions and 561 deletions

View file

@ -111,6 +111,7 @@ class Player(bs.Player['Team']):
self.dead = False
self.icons: list[Icon] = []
class Team(bs.Team[Player]):
"""Our team type for this game."""

View file

@ -20,6 +20,7 @@ if TYPE_CHECKING:
class BotsCanAcceptPowerupsPlugin(babase.Plugin):
def on_app_running(self) -> None:
SpazBot.oldinit = SpazBot.__init__
def __init__(self) -> None:
self.oldinit()
pam = PowerupBoxFactory.get().powerup_accept_material

View file

@ -317,6 +317,7 @@ def ishost():
if player.inputdevice.client_id == -1:
return True
def activity_loop():
if bs.get_foreground_host_activity() is not None:
activity = bs.get_foreground_host_activity()
@ -352,4 +353,6 @@ def activity_loop():
if config["Infinite Bombs"]:
player.actor.bomb_count = 100
timer = babase.AppTimer(2, activity_loop, repeat=True)