summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-04 14:48:23 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-04 14:48:23 +1000
commit8e68334070a096d8321ceb68f6a7670a2421eb38 (patch)
treed46e06779a4b85f535129dd3a5fabd4d419c80e9
parent1b8e69bec6a9b3020a85600f5f0d64e7683c778d (diff)
downloadfengari-8e68334070a096d8321ceb68f6a7670a2421eb38.tar.gz
fengari-8e68334070a096d8321ceb68f6a7670a2421eb38.tar.bz2
fengari-8e68334070a096d8321ceb68f6a7670a2421eb38.zip
src/lapi.js: Add missing call to get type
-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;
}