diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-12 19:24:39 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-12 19:24:39 +0100 |
commit | 72978e7e6f4c3af46880873f5a4e2f90386f3534 (patch) | |
tree | aec10e045a2c81bb5cf24eda62e71211da0db2b9 /src/script/lua_api/l_localplayer.cpp | |
parent | 659f470565efff7a8789d1cc8b1cd18ad7d15ad0 (diff) | |
download | minetest-72978e7e6f4c3af46880873f5a4e2f90386f3534.tar.xz |
Rename new_gravity to new new_acceleration
Diffstat (limited to 'src/script/lua_api/l_localplayer.cpp')
-rw-r--r-- | src/script/lua_api/l_localplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_localplayer.cpp b/src/script/lua_api/l_localplayer.cpp index 703b13d65..409413928 100644 --- a/src/script/lua_api/l_localplayer.cpp +++ b/src/script/lua_api/l_localplayer.cpp @@ -176,8 +176,8 @@ int LuaLocalPlayer::l_get_physics_override(lua_State *L) lua_pushboolean(L, player->physics_override_new_move); lua_setfield(L, -2, "new_move"); - lua_pushboolean(L, player->physics_override_new_gravity); - lua_setfield(L, -2, "new_gravity"); + lua_pushboolean(L, player->physics_override_new_acceleration); + lua_setfield(L, -2, "new_acceleration"); return 1; } |