diff options
Diffstat (limited to 'src/lbaselib.js')
-rw-r--r-- | src/lbaselib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbaselib.js b/src/lbaselib.js index c598474..874a868 100644 --- a/src/lbaselib.js +++ b/src/lbaselib.js @@ -5,7 +5,7 @@ const lauxlib = require('./lauxlib.js'); let lua_writestring; let lua_writeline; -if (WEB) { +if (typeof process === "undefined") { let buff = []; lua_writestring = function(s) { buff = buff.concat(s); |