summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ltable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltable.js b/src/ltable.js
index 79c8215..52b5aee 100644
--- a/src/ltable.js
+++ b/src/ltable.js
@@ -116,7 +116,7 @@ const delete_hash = function(t, hash) {
let e = t.strong.get(hash);
if (e) {
e.key.setdeadvalue();
- e.value = lobject.luaO_nilobject;
+ e.value = new lobject.TValue(CT.LUA_TNIL, null);
t.dead_hashes.push(hash);
}
};