diff options
Diffstat (limited to 'src/lua/thread/luaopen_Thread.cpp')
-rw-r--r-- | src/lua/thread/luaopen_Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/thread/luaopen_Thread.cpp b/src/lua/thread/luaopen_Thread.cpp index b6fb33b..30eb343 100644 --- a/src/lua/thread/luaopen_Thread.cpp +++ b/src/lua/thread/luaopen_Thread.cpp @@ -172,7 +172,7 @@ namespace lua static int l_remove(lua_State* L) { Thread* t = checkThread(L); - int slot = luax_checkinteger(L, 1); + int slot = luax_checkinteger(L, 2); t->remove(slot); return 0; } |