aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_localplayer.cpp')
-rw-r--r--src/script/lua_api/l_localplayer.cpp4
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;
}