added async stone detection thread

This commit is contained in:
2023-07-26 09:31:48 +02:00
parent 84830e94a8
commit 3c02d413a2

View File

@@ -89,7 +89,7 @@ class Litris(GameBase):
self.move_stone(column - offset_col, rotation)
self.drop_down()
print(self.field)
if self.field.get_line_count() >= 6:
if self.field.get_line_count() >= 6 and self.field.height() <= 2:
self.update_move_mode()
self.field.rotate_state()
#self.update_move_mode()