aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lapi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js
index 909822f..15cf2ef 100644
--- a/src/lapi.js
+++ b/src/lapi.js
@@ -554,7 +554,7 @@ const lua_getmetatable = function(L, objindex) {
mt = obj.value.metatable;
break;
default:
- mt = L.l_G.mt[obj.ttnov];
+ mt = L.l_G.mt[obj.ttnov()];
break;
}