mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
rolling-14
This commit is contained in:
parent
4ee679f187
commit
8003227d33
@ -1,7 +1,7 @@
|
|||||||
-- Table helpers
|
-- Table helpers
|
||||||
|
|
||||||
function map_index(table, func)
|
function map_index(table, func)
|
||||||
return setmetatable(roles, {
|
return setmetatable(table, {
|
||||||
__index = function(table, key)
|
__index = function(table, key)
|
||||||
return rawget(table, func(key))
|
return rawget(table, func(key))
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user