summaryrefslogtreecommitdiff
path: root/UI/LevelSelect.gd
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-01-09 23:30:27 +0100
committerDaniel Weipert <code@drogueronin.de>2021-01-09 23:30:27 +0100
commit485cd463b22e12394cd232812e2c3789ef37ab1c (patch)
tree5c455ec9c80b59a9f71ba5827b9902f2beb6df88 /UI/LevelSelect.gd
parent7920e8758506cd46c58ea4889c9f4fb704abfd16 (diff)
Adds a bunch of characters and fixes things
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)