|
|
@ -352,8 +352,10 @@ class TtrsGame(threading.Thread): |
|
|
|
|
|
|
|
|
|
|
|
evt = self.player.get_event() |
|
|
|
evt = self.player.get_event() |
|
|
|
if evt == PlayerEvent.QUIT: |
|
|
|
if evt == PlayerEvent.QUIT: |
|
|
|
self.running = False |
|
|
|
time.sleep(3) |
|
|
|
break |
|
|
|
if self.player.get_event() == PlayerEvent.QUIT: |
|
|
|
|
|
|
|
self.running = False |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
|
|
|
|
if not self.playground.block_points.isdisjoint(top_row): |
|
|
|
if not self.playground.block_points.isdisjoint(top_row): |
|
|
|
self.running = False |
|
|
|
self.running = False |
|
|
|