Fixed table.to_string

This commit is contained in:
Cooldude2606
2017-09-03 12:52:43 +01:00
parent e5ddd3586a
commit 072f02716b
2 changed files with 13 additions and 6 deletions

View File

@@ -57,6 +57,7 @@ function table.key_to_str ( k )
end
function table.to_string( tbl )
if not type(tbl) == 'table' then return {tostring(tbl)} end
local result, done = {}, {}
for k, v in ipairs( tbl ) do
table.insert( result, table.val_to_str( v ) )

View File

@@ -28,22 +28,25 @@ local preset_ranks = {
Admin={
'eissturm',
'PropangasEddy',
'mark9064',
'Smou'},
Mod={
'AcThPaU',
'Alanore',
'Aquaday',
'ayahuasca23',
'cafeslacker',
'CrashKonijn',
'Drahc_pro',
'everLord',
'FlipHalfling90',
'freek16',
'facere',
'freek18',
'Hobbitkicker',
'hud',
'Koroto',
'mark9064',
'Matthias60',
'matthias60',
'MeDDish',
'Mindxt20',
'MottledPetrel',
@@ -55,13 +58,16 @@ local preset_ranks = {
'Sand3r205',
'scarbvis',
'steentje77',
'SuperWinner50',
'tophatgaming123',
'VR29',
'xenocyber'},
'xenocyber',
'Ruuyji'},
Donator={
'M74132',
'Splicer'},
'Splicer',
'Nucklesamich'},
Veteran={},
@@ -79,4 +85,4 @@ function get_rank_presets(rank)
end
Event.register(-1,function() global.preset_ranks = preset_ranks end)
--Please Only Edit Above This Line-----------------------------------------------------------
return credits
return credits