Skip to content

Commit 99515c8

Browse files
committed
One other win-check condition
1 parent b535cf2 commit 99515c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userspace/py/bin/mines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def mine_func(b):
106106
b.reveal()
107107
if b.mines == 0:
108108
n.extend([x for x in check_neighbor_buttons(b.row,b.col) if not x.revealed and not x in n])
109-
self.check_win()
109+
self.check_win()
110110

111111
self.field_size, self.mine_count = action
112112
self.first_click = True

0 commit comments

Comments
 (0)