From b73a15a0bfe628e8c1001dc97aef7d2720940ff5 Mon Sep 17 00:00:00 2001 From: Shane Ellis <cobaltbw@gmail.com> Date: Fri, 15 Jan 2021 22:50:15 -0500 Subject: [PATCH] fixed G_AddPlayer not sending return value --- src/lua_baselib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_baselib.c b/src/lua_baselib.c index 438c20b813..f546622781 100644 --- a/src/lua_baselib.c +++ b/src/lua_baselib.c @@ -3479,7 +3479,7 @@ static int lib_gAddPlayer(lua_State *L) } LUA_PushUserdata(L, newplayer, META_PLAYER); - return 0; + return 1; } -- GitLab