From 9f7432b824706831aecde1cb13154323512de42a Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Fri, 20 May 2022 03:55:49 +0200 Subject: [PATCH] Fix map loading error message --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 821957f..f1c3678 100644 --- a/init.lua +++ b/init.lua @@ -86,7 +86,7 @@ maps.create_map = function(pos) meta:set_string("maps:xpos", minetest.pos_to_string(xpos)) local filename = maps.get_map_filename(map_id) - maps.work[filename] = true + maps.work[map_id] = true local emerge_callback = function( blockpos, @@ -368,7 +368,7 @@ maps.create_map = function(pos) filepath, { colormap=colormap } ) - maps.work[filename] = false + maps.work[maps_work] = false end minetest.emerge_area(