diff --git a/init.lua b/init.lua index e503adf..0ff4804 100644 --- a/init.lua +++ b/init.lua @@ -44,7 +44,7 @@ function init() -- 7. Save to a path inside the module's writeable area. -- engine.module.dir_of returns ctx->loaded_module.path — the installed dir -- of this module. io.open with an absolute path bypasses the asset sandbox. - local module_dir = engine.module.dir_of("sporel-module-map-editor-test") + local module_dir = engine.module.dir_of("map-editor-test") local out_path = module_dir .. "/maps/test_work_saved.map.json" maps.save_to_disk(map_id, out_path)