diff options
author | madmaxoft <github@xoft.cz> | 2014-08-03 12:08:00 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-03 22:04:49 +0200 |
commit | 36d19723362a4b1756c03fdc2cda7b6cace4b97b (patch) | |
tree | 6f4abfc5bd86e1d186caf46ea092b6deb46a790c /lib/tolua++/src/bin | |
parent | Added cPlayer::GetUUID(). (diff) | |
download | cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.gz cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.bz2 cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.lz cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.xz cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.zst cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.zip |
Diffstat (limited to 'lib/tolua++/src/bin')
-rw-r--r-- | lib/tolua++/src/bin/lua/_driver.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tolua++/src/bin/lua/_driver.lua b/lib/tolua++/src/bin/lua/_driver.lua index 87ecd42ea..1ca18862b 100644 --- a/lib/tolua++/src/bin/lua/_driver.lua +++ b/lib/tolua++/src/bin/lua/_driver.lua @@ -3,6 +3,9 @@ local mobdebugfound, mobdebug = pcall(require, "mobdebug") if mobdebugfound then mobdebug.start() end +-- Disable buffering for stdout, so that the results appear immediately: +io.output():setvbuf("no") + -- The list of valid arguments that the ToLua scripts can process: local KnownArgs = { ['v'] = true, |