aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ClientHamr/GuiLua/skang.lua')
-rw-r--r--ClientHamr/GuiLua/skang.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index e3c2612..7333e54 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -594,6 +594,19 @@ thing = function (names, ...)
594end 594end
595 595
596 596
597fixNames = function (module, name)
598 local stuff = getmetatable(module)
599 stuff.names[1] = name
600 for k, v in pairs(stuff.__stuff) do
601 if 'table' == v.types[1] then
602 local name = v.names[1]
603 print(name .. ' -> ' .. name)
604 fixNames(stuff.__values[name], name)
605 end
606 end
607end
608
609
597copy = function (module, name) 610copy = function (module, name)
598 local result = {} 611 local result = {}
599 local thingy = {} 612 local thingy = {}