summaryrefslogtreecommitdiff
path: root/UI/LevelSelect.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/LevelSelect.gd')
-rw-r--r--UI/LevelSelect.gd2
1 files changed, 1 insertions, 1 deletions
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)