diff options
Diffstat (limited to 'src/tsg_lua_func.cpp')
| -rw-r--r-- | src/tsg_lua_func.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tsg_lua_func.cpp b/src/tsg_lua_func.cpp index 4a95ab1..61ec5f8 100644 --- a/src/tsg_lua_func.cpp +++ b/src/tsg_lua_func.cpp @@ -705,6 +705,7 @@ int tsg_lua_exec_file(tsg_lua_handle lua, const char *script, const char *in, si debuginfo("script return nil", __FILE__, __LINE__); actual_out_type = NIL; *out_type = NIL; + *out_len = 0; return_value = ERR_RETUNR_NIL; break; case LUA_TSTRING: |
