diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-04 14:48:23 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-04 14:48:23 +1000 |
commit | 8e68334070a096d8321ceb68f6a7670a2421eb38 (patch) | |
tree | d46e06779a4b85f535129dd3a5fabd4d419c80e9 /src/lapi.js | |
parent | 1b8e69bec6a9b3020a85600f5f0d64e7683c778d (diff) | |
download | fengari-8e68334070a096d8321ceb68f6a7670a2421eb38.tar.gz fengari-8e68334070a096d8321ceb68f6a7670a2421eb38.tar.bz2 fengari-8e68334070a096d8321ceb68f6a7670a2421eb38.zip |
src/lapi.js: Add missing call to get type
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 2 |
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; } |