mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-23 07:32:04 +03: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
5
main.gd
5
main.gd
@ -67,7 +67,10 @@ func load_level(level_id):
|
|||||||
r.queue_free()
|
r.queue_free()
|
||||||
repositories = {}
|
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 repo = level.repos[r]
|
||||||
var new_repo = preload("res://repository.tscn").instance()
|
var new_repo = preload("res://repository.tscn").instance()
|
||||||
new_repo.path = repo.path
|
new_repo.path = repo.path
|
||||||
|
Loading…
Reference in New Issue
Block a user