diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-18 14:16:18 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-18 14:16:18 +0200 |
commit | 28a560684b9b9048f8436583805f3f733d7ce829 (patch) | |
tree | 7615dddb67a38982d10660c751ef4db229a702f8 /src/script/lua_api/l_localplayer.h | |
parent | c1aea404b862256e6bf9316eeb8f32c72b78a4c2 (diff) | |
download | dragonfireclient-28a560684b9b9048f8436583805f3f733d7ce829.tar.xz |
Added the API additions from waspsaliva
Diffstat (limited to 'src/script/lua_api/l_localplayer.h')
-rw-r--r-- | src/script/lua_api/l_localplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index f43eb2a4d..8daa901e0 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -111,6 +111,9 @@ private: // hud_get(self, id) static int l_hud_get(lua_State *L); + // get_object(self) + static int l_get_object(lua_State *L); + LocalPlayer *m_localplayer = nullptr; public: |