aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ClientHamr/GuiLua/skang.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index 059f463..b8e418b 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -327,14 +327,12 @@ thing = function (names, help, default, types, widget, required, acl, boss)
327 -- Find type, default to string, then break out the other types. 327 -- Find type, default to string, then break out the other types.
328 local t = {type(default)} 328 local t = {type(default)}
329 if 'nil' == t[1] then t[1] = 'string' end 329 if 'nil' == t[1] then t[1] = 'string' end
330 i = 2
331 if types then 330 if types then
331 i = 2
332 for v in string.gmatch(types, '([^,]+)') do 332 for v in string.gmatch(types, '([^,]+)') do
333 t[i] = v 333 t[i] = v
334 i = i + 1 334 i = i + 1
335 end 335 end
336 else
337 types = ''
338 end 336 end
339 337
340 -- Set it all up. 338 -- Set it all up.