small changes
This commit is contained in:
parent
feea2a40b1
commit
2e996f2e11
|
@ -1,3 +1,3 @@
|
||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b117dc5a7537a60ff341010636802131c9aa3b80982130e63d5d94902c002d07
|
oid sha256:2b7e5cb00328c9b9d8076a826c368d012628edadf108d078167620945c4742b0
|
||||||
size 13505995
|
size 32849426
|
||||||
|
|
|
@ -66,6 +66,22 @@ func save_local(path=_save_path):
|
||||||
var json_text = JSON.stringify(data)
|
var json_text = JSON.stringify(data)
|
||||||
save_file.store_line(json_text)
|
save_file.store_line(json_text)
|
||||||
|
|
||||||
|
# var path2 = OS.get_system_dir(OS.SYSTEM_DIR_DOCUMENTS, false) + "/immersive-home/" + path.split("/")[- 1]
|
||||||
|
# path2 = path2.replace("/Android/data/org.godotengine.immersivehome/files", "")
|
||||||
|
|
||||||
|
# print(path2)
|
||||||
|
|
||||||
|
# if not FileAccess.file_exists(path2):
|
||||||
|
# var dir = path2.get_base_dir()
|
||||||
|
# DirAccess.open("user://").make_dir_recursive(dir)
|
||||||
|
|
||||||
|
# var save_file2 = FileAccess.open(path2, FileAccess.WRITE)
|
||||||
|
|
||||||
|
# if save_file2 == null:
|
||||||
|
# return false
|
||||||
|
|
||||||
|
# save_file2.store_line(json_text)
|
||||||
|
|
||||||
on_saved.emit()
|
on_saved.emit()
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user