Compare commits
2 Commits
985846a9df
...
d2b69a98c4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2b69a98c4 | ||
|
|
b262af08cb |
2
init.lua
2
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)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "sporel-module-map-editor-test",
|
||||
"id": "map-editor-test",
|
||||
"version": "0.1.0",
|
||||
"kind": "test-module",
|
||||
"api": "^0.1",
|
||||
|
||||
Reference in New Issue
Block a user