master
Pinky 2016-01-18 21:33:30 -05:00
parent 771fcc88d0
commit 1cdb90f5ac
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ minetest.register_node("game:compass", {
local meta = minetest.get_meta(pos);
local pos_s = minetest.pos_to_string({x=math.floor(pos.x),y=math.floor(pos.y),z=math.floor(pos.z)})
local place = ""
local _, _1, _2, place = places.get_closest_string(pos)
local _, _1, _2, place = game.get_closest_string(pos)
meta:set_string("infotext", "\t Location\n\t"..pos_s.."\n"..place)
end,
})