aboutsummaryrefslogtreecommitdiff
path: root/src/lua.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-09-30 02:17:37 -0500
committerame <[email protected]>2024-09-30 02:17:37 -0500
commitc18a2ac9469ddc7488834a81e49150ebb5506ed4 (patch)
tree2a9fafd40359419d36504b55e6041a9fdda23bc6 /src/lua.c
parent2a7f5c95a5406b6de215dbc24a733e29d609d20f (diff)
parente29d3ea86551380ace8e2c86c9f1f63e901941e1 (diff)
what
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c
index 225dfbf..d6a5523 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -139,6 +139,9 @@ void luaI_deepcopy(lua_State* src, lua_State* dest, enum deep_copy_flags flags){
modi = 1;
lua_pushlightuserdata(dest, lua_touserdata(src, -1));
break;
+ case LUA_TTHREAD:
+ lua_pushnil(dest);
+ break;
default:
printf("unknown type %i vs (old)%i\n",lua_type(src, -1), type);
abort();