mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 19:20:29 +00:00
Make settings API getNames() function sort names.
Makes it easier for eye and keeps settings from same program next to eachother.
This commit is contained in:
parent
52a2c6f7f9
commit
7090f6b6a7
@ -56,6 +56,7 @@ function getNames()
|
|||||||
for k,v in pairs( tSettings ) do
|
for k,v in pairs( tSettings ) do
|
||||||
result[ #result + 1 ] = k
|
result[ #result + 1 ] = k
|
||||||
end
|
end
|
||||||
|
table.sort(result)
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user