diff --git a/init.lua b/init.lua index 9766d6c..09e6872 100644 --- a/init.lua +++ b/init.lua @@ -2609,7 +2609,10 @@ i3.new_tab { local pos = vec_new(waypoint.pos) pos.y = pos.y + 0.5 + local vel = player:get_velocity() + player:add_velocity(vec_mul(vel, -1)) player:set_pos(pos) + msg(name, fmt("Teleported to %s", clr("#ff0", waypoint.name))) elseif action == "refresh" then