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
35d4e45915
commit
e7158a0878
8 changed files with 824 additions and 808 deletions
|
|
@ -123,7 +123,7 @@ class BotShowerGame(bs.TeamGameActivity[Player, Team]):
|
|||
if self.has_begun():
|
||||
bui.screenmessage(
|
||||
babase.Lstr(resource='playerDelayedJoinText',
|
||||
subs=[('${PLAYER}', player.getname(full=True))]),
|
||||
subs=[('${PLAYER}', player.getname(full=True))]),
|
||||
color=(1, 1, 0),
|
||||
)
|
||||
|
||||
|
|
@ -147,7 +147,8 @@ class BotShowerGame(bs.TeamGameActivity[Player, Team]):
|
|||
|
||||
def _spawn_bot(self) -> None:
|
||||
assert self._bots is not None
|
||||
self._bots.spawn_bot(random.choice(self._bot_type), pos=(random.uniform(-11, 11), (9.8 if self.map.getname() == 'Football Stadium' else 5.0), random.uniform(-5, 5)))
|
||||
self._bots.spawn_bot(random.choice(self._bot_type), pos=(
|
||||
random.uniform(-11, 11), (9.8 if self.map.getname() == 'Football Stadium' else 5.0), random.uniform(-5, 5)))
|
||||
|
||||
def _check_end_game(self) -> None:
|
||||
living_team_count = 0
|
||||
|
|
@ -192,4 +193,4 @@ class BotShowerGame(bs.TeamGameActivity[Player, Team]):
|
|||
|
||||
results.set_team_score(team, int(1000.0 * longest_life))
|
||||
|
||||
self.end(results=results)
|
||||
self.end(results=results)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue