Restore body "lag behind" behavior
parent
c4c1d70f77
commit
a4eb93d5bc
2
main.lua
2
main.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue