autofly: automatically show death waypoint
This commit is contained in:
parent
832558fb9e
commit
3e42890fdf
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user