feat: exclude players from analysis that aren't in the team

This commit is contained in:
julius 2025-05-22 12:33:28 +02:00
parent ba26e7c9e6
commit 2195e7324d
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

View File

@ -153,6 +153,8 @@ def graph_json(
)
for c in session.exec(statement2):
if c.user not in player_map:
continue
user = player_map[c.user]
for i, p_id in enumerate(c.love):
if p_id not in player_map: