summaryrefslogtreecommitdiff
path: root/server-beta/src/core/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/table.lua')
-rw-r--r--server-beta/src/core/table.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-beta/src/core/table.lua b/server-beta/src/core/table.lua
index 3c3ae0f3..7b7b7a78 100644
--- a/server-beta/src/core/table.lua
+++ b/server-beta/src/core/table.lua
@@ -7,9 +7,9 @@ function m:field(source, key, callback)
local src = source[i]
if key == guide.getKeyName(src) then
if src.type == 'tablefield' then
- callback(src.field, 'set')
+ callback(src, 'set')
elseif src.type == 'tableindex' then
- callback(src.index, 'set')
+ callback(src, 'set')
end
end
end