Restore body "lag behind" behavior

master
Lars Mueller 2022-05-11 20:12:21 +02:00
parent c4c1d70f77
commit a4eb93d5bc
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ function handle_player_animations(dtime, player)
rotate_relative(Head)
if interacting then rotate_relative(Arm_Right) end
end
elseif not modlib.table.nilget(rawget(_G, "player_api", "player_attached", name)) then
elseif not modlib.table.nilget(rawget(_G, "player_api"), "player_attached", name) then
Body.y = Body.y - lag_behind
Head.y = Head.y + lag_behind
if interacting then Arm_Right.y = Arm_Right.y + lag_behind end