From ac4d911efd0bfa7aeff57acf8535c916dc6a22ca Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 15 Sep 2025 08:07:02 +0200 Subject: [PATCH] feat: clear full lines after locking shape --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index d418f4e..4f1e61d 100644 --- a/main.go +++ b/main.go @@ -82,6 +82,7 @@ func Update(delta float32) { // Update position if it does not collide if game.CheckShapeCollision(new_pos, &shape, &grid) { LockShape() + grid.ClearFullRows() SpawnShape() } else { shape_pos = new_pos