mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add time_from_last_punch to Lua API
This commit is contained in:
parent
ed128fff26
commit
e8b0722137
4 changed files with 9 additions and 6 deletions
|
@ -83,7 +83,7 @@ void scriptapi_luaentity_get_properties(lua_State *L, u16 id,
|
|||
LuaEntityProperties *prop);
|
||||
void scriptapi_luaentity_step(lua_State *L, u16 id, float dtime);
|
||||
void scriptapi_luaentity_punch(lua_State *L, u16 id,
|
||||
ServerActiveObject *puncher);
|
||||
ServerActiveObject *puncher, float time_from_last_punch);
|
||||
void scriptapi_luaentity_rightclick(lua_State *L, u16 id,
|
||||
ServerActiveObject *clicker);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue