summaryrefslogtreecommitdiff
path: root/src/lbaselib.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbaselib.js')
-rw-r--r--src/lbaselib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbaselib.js b/src/lbaselib.js
index af7c3cc..57173b6 100644
--- a/src/lbaselib.js
+++ b/src/lbaselib.js
@@ -314,7 +314,7 @@ const luaB_load = function(L) {
};
const base_funcs = {
- "collectgarbage": function () {},
+ "collectgarbage": function () { return 0; },
"assert": luaB_assert,
"error": luaB_error,
"getmetatable": luaB_getmetatable,