mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-09 05:02:22 +02:00
Savegames!
This commit is contained in:
parent
76c4aab834
commit
5c1f1ce722
4 changed files with 20 additions and 8 deletions
scenes
|
@ -48,6 +48,8 @@ func update():
|
|||
wd_files.pop_back()
|
||||
wd_files = helpers.map(wd_files, self, "substr2")
|
||||
|
||||
var files = wd_files
|
||||
|
||||
var head_files
|
||||
var index_files
|
||||
|
||||
|
@ -61,13 +63,12 @@ func update():
|
|||
# The last entry is an empty string, remove it.
|
||||
index_files.pop_back()
|
||||
|
||||
var files = wd_files
|
||||
for f in head_files:
|
||||
if not f in files:
|
||||
files.push_back(f)
|
||||
for f in index_files:
|
||||
if not f in files:
|
||||
files.push_back(f)
|
||||
for f in head_files:
|
||||
if not f in files:
|
||||
files.push_back(f)
|
||||
for f in index_files:
|
||||
if not f in files:
|
||||
files.push_back(f)
|
||||
|
||||
files.sort_custom(self, "very_best_sort")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue