diff --git a/src/util/script_state.cpp b/src/util/script_state.cpp index 949ae31a5a..4a6a84da91 100644 --- a/src/util/script_state.cpp +++ b/src/util/script_state.cpp @@ -525,6 +525,7 @@ int thread_wait(lua_State * L) { static const struct luaL_Reg thread_m[] = { {"__gc", thread_gc}, {"wait", safe_function}, + {"join", safe_function}, {"interrupt", safe_function}, {"write", safe_function}, {"read", safe_function},