Skip to content

Commit 2e4ba57

Browse files
committed
Now includes exceptions for 1v1 replays in this logic. While this is makes determining the winner difficult in theory, in practice most people leave well before all their buildings are destroyed.
1 parent b5f95bd commit 2e4ba57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/replay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def _process_results(self):
177177
self.results[remaining.pop()] = "Won"
178178

179179
#Because you can also end the game by destroying all buildings, FFA can't be known
180-
elif self.type != 'FFA':
180+
elif self.type != 'FFA' and self.type != '1v1':
181181
#The other results are unknown except in the (common) case that the
182182
#recorder is the last one on his team to leave. In this case, the
183183
#result for his team can be known

0 commit comments

Comments
 (0)