mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 03:39:04 +08:00
type-checking
This commit is contained in:
parent
f6802dfed0
commit
337045c9f8
@ -192,6 +192,8 @@ class Session:
|
||||
self.max_players = max_players
|
||||
|
||||
if self._use_teams:
|
||||
assert team_names is not None
|
||||
assert team_colors is not None
|
||||
for i, color in enumerate(team_colors):
|
||||
team = Team(team_id=self._next_team_id,
|
||||
name=GameActivity.get_team_display_string(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user