File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -862,7 +862,7 @@ def load_player_stats(self):
862862 # Value is as seen on the score screen in game.
863863 stats_items = self .parts [3 ][0 ]
864864 if len (self .parts ) > 4 :
865- stats_items .append (self .parts [4 ][0 ][1 ])
865+ stats_items .append (self .parts [4 ][0 ][0 ])
866866
867867 for item in stats_items :
868868 stat_name = self .translations ['enUS' ][item [0 ][1 ]]
@@ -970,6 +970,7 @@ def load_players(self):
970970 player .units_killed = stats .get ('Killed Unit Count' , None )
971971 player .structures_built = stats .get ('Structures Built' , None )
972972 player .units_trained = stats .get ('Units Trained' , None )
973+ player .structures_razed = stats .get ('Structures Razed Count' , None )
973974
974975 # Graphs Tab
975976 player .army_graph = stats .get ('Army Graph' )
You can’t perform that action at this time.
0 commit comments