diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2021-06-24 17:47:20 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2021-06-24 17:47:20 +0200 |
commit | 050e14dd7fa04e2262ae6b1cc984d76c4149b664 (patch) | |
tree | 8b7cead727e2b9e545dbbd458ef4009eb099db92 /src/lanes.c | |
parent | 4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3 (diff) | |
download | lanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.tar.gz lanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.tar.bz2 lanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.zip |
correctly transfer the uservalue of a deep userdata
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lanes.c b/src/lanes.c index f3fdc76..e697bf5 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -89,6 +89,7 @@ THE SOFTWARE. | |||
89 | #include "threading.h" | 89 | #include "threading.h" |
90 | #include "compat.h" | 90 | #include "compat.h" |
91 | #include "tools.h" | 91 | #include "tools.h" |
92 | #include "state.h" | ||
92 | #include "universe.h" | 93 | #include "universe.h" |
93 | #include "keeper.h" | 94 | #include "keeper.h" |
94 | #include "lanes_private.h" | 95 | #include "lanes_private.h" |
@@ -1930,7 +1931,7 @@ LUAG_FUNC( configure) | |||
1930 | 1931 | ||
1931 | { | 1932 | { |
1932 | char const* errmsg; | 1933 | char const* errmsg; |
1933 | errmsg = push_deep_proxy( U, L, (DeepPrelude*) U->timer_deep, eLM_LaneBody); // settings M timer_deep | 1934 | errmsg = push_deep_proxy( U, L, (DeepPrelude*) U->timer_deep, 0, eLM_LaneBody); // settings M timer_deep |
1934 | if( errmsg != NULL) | 1935 | if( errmsg != NULL) |
1935 | { | 1936 | { |
1936 | return luaL_error( L, errmsg); | 1937 | return luaL_error( L, errmsg); |