From 21d2cd0226364323671fa283675f388a06949b25 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 2 Oct 2017 20:59:21 -0400 Subject: [PATCH] Add all the other attributes of the table to the object. --- xonstat/models/game.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xonstat/models/game.py b/xonstat/models/game.py index e9cf29c..8d6640e 100644 --- a/xonstat/models/game.py +++ b/xonstat/models/game.py @@ -199,9 +199,12 @@ class PlayerGameFragMatrix(object): Frags made by an individual player in a single game. """ - def __init__(self, game_id, player_game_stat_id): + def __init__(self, game_id, player_game_stat_id, player_id, player_index, matrix): self.game_id = game_id self.player_game_stat_id = player_game_stat_id + self.player_id = player_id + self.player_index = player_index + self.matrix = matrix def __repr__(self): return "".format(self) -- 2.39.2