From 86ef7147b60868f86d38d55a1dcf6271d68427ce Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 17 Nov 2013 02:57:40 -0500 Subject: Fix issue #1009 (minetest.get_connected_players() returns non-existing players) --- src/script/lua_api/l_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_object.h') diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index 8fd6c8e71..4b4f5eff7 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -158,6 +158,9 @@ private: // is_player(self) static int l_is_player(lua_State *L); + // is_player_connected(self) + static int l_is_player_connected(lua_State *L); + // get_player_name(self) static int l_get_player_name(lua_State *L); -- cgit v1.2.3