mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
Show repos from right to left
So that the "most important" one is close to the terminal.
This commit is contained in:
parent
53a6885ef9
commit
09c54bfbdd
1 changed files with 4 additions and 1 deletions
5
main.gd
5
main.gd
|
@ -67,7 +67,10 @@ func load_level(level_id):
|
|||
r.queue_free()
|
||||
repositories = {}
|
||||
|
||||
for r in level.repos:
|
||||
var repo_names = level.repos.keys()
|
||||
repo_names.invert()
|
||||
|
||||
for r in repo_names:
|
||||
var repo = level.repos[r]
|
||||
var new_repo = preload("res://repository.tscn").instance()
|
||||
new_repo.path = repo.path
|
||||
|
|
Loading…
Reference in a new issue