Fix bug
This commit is contained in:
parent
3ff55f281e
commit
ed3c86a282
|
@ -110,9 +110,9 @@ class Game:
|
|||
except:
|
||||
# An error occured during the evaluation of pp.player strategy
|
||||
if id == 0:
|
||||
self.winner = 1
|
||||
self.winner = 2
|
||||
elif id == 1:
|
||||
self.winner = 0
|
||||
self.winner = 1
|
||||
return False
|
||||
|
||||
|
||||
|
@ -135,9 +135,9 @@ class Game:
|
|||
except:
|
||||
# An error occured during the evaluation of pp.player strategy
|
||||
if id == 0:
|
||||
self.winner = 1
|
||||
self.winner = 2
|
||||
elif id == 1:
|
||||
self.winner = 0
|
||||
self.winner = 1
|
||||
return False
|
||||
|
||||
for (id, pp) in enumerate(self.pps):
|
||||
|
|
Loading…
Reference in New Issue