mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Enable files' drop area, two levels about the index
This commit is contained in:
parent
a893cba9d3
commit
8760ad7178
8 changed files with 87 additions and 6 deletions
scenes
|
@ -65,7 +65,10 @@ func load_level(level_id):
|
|||
level_description.bbcode_text = level.description
|
||||
level_congrats.bbcode_text = level.congrats
|
||||
level_name.text = level.title
|
||||
cards.draw(levels.chapters[current_chapter].levels[current_level].cards)
|
||||
if levels.chapters[current_chapter].levels[current_level].cards.size() == 0:
|
||||
cards.redraw_all_cards()
|
||||
else:
|
||||
cards.draw(levels.chapters[current_chapter].levels[current_level].cards)
|
||||
|
||||
for r in repositories_node.get_children():
|
||||
r.queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue