server/core/scripts/callbacks.lua

12 lines
215 B
Lua
Raw Normal View History

2010-08-08 10:06:34 +02:00
callbacks = {}
callbacks["attrib_init"] = function(attr)
if attr.name ~= nil then
local init = callbacks["init_" .. attr.name]
if init ~=nil then
init(attr)
end
end
end