Merge pull request #4497 from Ccomp5950/sort_files

Server log files are now sorted when using .getruntimelog or .getserverlog
This commit is contained in:
Mloc
2014-03-02 10:54:51 +00:00

View File

@@ -21,7 +21,7 @@
var/path = root
for(var/i=0, i<max_iterations, i++)
var/list/choices = flist(path)
var/list/choices = sortList(flist(path))
if(path != root)
choices.Insert(1,"/")
@@ -57,4 +57,4 @@
return 1
fileaccess_timer = world.time + FTPDELAY
return 0
#undef FTPDELAY
#undef FTPDELAY