autofly: automatically show death waypoint

This commit is contained in:
cora 2020-11-20 05:14:58 +01:00
parent 832558fb9e
commit 3e42890fdf

View File

@ -438,7 +438,9 @@ minetest.register_on_death(function()
local pos = minetest.localplayer:get_pos()
autofly.last_coords = pos
autofly.set_waypoint(pos, name)
minetest.display_chat_message('Added waypoint "' .. name .. '".')
autofly.display_waypoint(name)
--minetest.display_chat_message('Added waypoint "' .. name .. '".')
end
end)