forked from erle/xmaps
Fix map loading error message
This commit is contained in:
parent
d0fb97c3a1
commit
9f7432b824
4
init.lua
4
init.lua
|
@ -86,7 +86,7 @@ maps.create_map = function(pos)
|
||||||
meta:set_string("maps:xpos", minetest.pos_to_string(xpos))
|
meta:set_string("maps:xpos", minetest.pos_to_string(xpos))
|
||||||
|
|
||||||
local filename = maps.get_map_filename(map_id)
|
local filename = maps.get_map_filename(map_id)
|
||||||
maps.work[filename] = true
|
maps.work[map_id] = true
|
||||||
|
|
||||||
local emerge_callback = function(
|
local emerge_callback = function(
|
||||||
blockpos,
|
blockpos,
|
||||||
|
@ -368,7 +368,7 @@ maps.create_map = function(pos)
|
||||||
filepath,
|
filepath,
|
||||||
{ colormap=colormap }
|
{ colormap=colormap }
|
||||||
)
|
)
|
||||||
maps.work[filename] = false
|
maps.work[maps_work] = false
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.emerge_area(
|
minetest.emerge_area(
|
||||||
|
|
Loading…
Reference in New Issue