mechanic: fix stat unrolling

This commit is contained in:
rr-
2019-01-04 19:49:50 +01:00
parent 9a90b7b7b4
commit bd3f196f84
3 changed files with 4 additions and 9 deletions
+2 -1
View File
@@ -910,7 +910,8 @@ class StatsBuilder:
return stats
def unroll(self) -> Stats:
self.history.pop()
if len(self.history) > 1:
self.history.pop()
return self.history[-1]