PlayerHistograms:get_results_list(): fix percentage fields 1/100

This commit is contained in:
Jylpah committed 2021-02-06 02:05:53 +02:00
1 parent 9f91ef85b6
commit 111c1801e6
1 file changed
+3 -3
+3 -3
View File
@@ -1257,9 +1257,9 @@ class PlayerHistogram():
res.append([self.name, "Allies", "Allies %", "Enemies", "Enemies %" ,"TOTAL", "TOTAL %"])
for cat in self.results:
stat = self.results[cat]
res.append([ cat, stat['allies'], stat['allies%']*100,
stat['enemies'], stat['enemies%']*100,
stat['total'], stat['total%']*100 ])
res.append([ cat, stat['allies'], stat['allies%'],
stat['enemies'], stat['enemies%'],
stat['total'], stat['total%'] ])
return res
else:
bu.error('Results have not been calculated yet.')