From 485cd463b22e12394cd232812e2c3789ef37ab1c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 9 Jan 2021 23:30:27 +0100 Subject: Adds a bunch of characters and fixes things --- UI/LevelSelect.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UI/LevelSelect.gd') diff --git a/UI/LevelSelect.gd b/UI/LevelSelect.gd index 7abc5f2..2d40a36 100644 --- a/UI/LevelSelect.gd +++ b/UI/LevelSelect.gd @@ -9,7 +9,7 @@ func _ready(): func draw(): var Cell = load("res://UI/LevelSelectCell.tscn") - for idx in range(9): + for idx in range(Global.Level_Map.size()): # size = 9 var cell = Cell.instance() cell.level_idx = idx cell.set_rect_size(1024/3, 600/3) -- cgit v1.2.3