This commit is contained in:
2026-08-02 05:24:50 -04:00
parent c1cf53fad1
commit 34c64d560f
+1
View File
@@ -108,6 +108,7 @@ def render_player(matrix, img, player, x_offset):
img.putpixel((x_offset + GAME_WIDTH - 1, row), DIVIDER_COLOR) img.putpixel((x_offset + GAME_WIDTH - 1, row), DIVIDER_COLOR)
def build_canvas(matrix, team): def build_canvas(matrix, team):
print(players)
total_players = len(players[team]) total_players = len(players[team])
total_width = GAME_WIDTH * (total_players + 4) total_width = GAME_WIDTH * (total_players + 4)
img = Image.new("RGB", (total_width, PANEL_HEIGHT), (0,0,0)) img = Image.new("RGB", (total_width, PANEL_HEIGHT), (0,0,0))