From b4c3ff6eab197828d370c30d66e033cde9d2f13d Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 12 May 2015 05:49:14 +0200 Subject: is_player() is no player-only function --- src/script/lua_api/l_object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 d51ca379f..daf91ce56 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -120,6 +120,9 @@ private: // set_properties(self, properties) static int l_set_properties(lua_State *L); + // is_player(self) + static int l_is_player(lua_State *L); + /* LuaEntitySAO-only */ // setvelocity(self, {x=num, y=num, z=num}) @@ -156,9 +159,6 @@ private: /* Player-only */ - // is_player(self) - static int l_is_player(lua_State *L); - // is_player_connected(self) static int l_is_player_connected(lua_State *L); -- cgit v1.2.3