Blackout third team players

This commit is contained in:
Xie Zhihao 2024-03-19 08:28:52 +08:00 committed by GitHub
parent 81030982fd
commit 9ea800fbb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
s3s.py
View File

@ -817,6 +817,10 @@ def prepare_battle_result(battle, ismonitoring, isblackout, overview_data=None):
player["name"] = None
player["number"] = None
player["splashtag_title"] = None
for player in payload["third_team_players"]:
player["name"] = None
player["number"] = None
player["splashtag_title"] = None
# fix battle json
for player in battle["myTeam"]["players"]: