From 8e68334070a096d8321ceb68f6a7670a2421eb38 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 4 May 2017 14:48:23 +1000 Subject: src/lapi.js: Add missing call to get type --- src/lapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2