Diffstat (limited to 'Grid.gd')
-rw-r--r--Grid.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Grid.gd b/Grid.gd
index 8077245..cd0396e 100644
--- a/Grid.gd
+++ b/Grid.gd
@@ -23,7 +23,7 @@ func init_grid():
for i in range(Constants.GRID_LEN):
var grid_row = []
for j in range(Constants.GRID_LEN):
- var block = Block.instance()
+ var block = Block.instantiate()
add_child(block)
block.global_position += Vector2(
i * Constants.BLOCK_SIZE + 10, j * Constants.BLOCK_SIZE + 10