1
0
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:
Wojbie 2017-06-23 01:07:18 +02:00
parent 52a2c6f7f9
commit 7090f6b6a7

View File

@ -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