PATCH: Incorrect team colours due to wrong total round number

This commit is contained in:
2025-03-16 21:17:48 +01:00
parent 3ee2c5de44
commit 9f52947036
3 changed files with 10 additions and 7 deletions

View File

@@ -7,7 +7,8 @@ def main():
import demoparser2
demo_parser = demoparser2.DemoParser("demo.dem")
game_info = demo_parser.parse_ticks(["X", "Y", "Z", "pitch", "yaw", "is_alive", "team", "player_steamid", "team_rounds_total", "team_num"])
game_info = demo_parser.parse_ticks(["X", "Y", "Z", "pitch", "yaw", "is_alive", "team", "player_steamid",
"team_rounds_total", "team_num", "total_rounds_played"])
header_info = demo_parser.parse_header()
map_name = header_info['map_name']
players = demo_parser.parse_player_info()