I give up
This commit is contained in:
parent
0490edb8ec
commit
407a59d3eb
6 changed files with 46 additions and 135 deletions
|
@ -52,13 +52,6 @@ func _ready():
|
|||
func _exit_tree():
|
||||
write_settings(settingsPath)
|
||||
|
||||
|
||||
func read_save(path):
|
||||
if path == "default":
|
||||
return DefaultAvatarData.data
|
||||
|
||||
return load(path)
|
||||
|
||||
func write_save(path):
|
||||
if OS.has_feature('web'):
|
||||
JavaScriptBridge.eval("window.localStorage.setItem('" + key + "', '" + JSON.stringify(data) + "');")
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
uid://dqsikysw3ch7s
|
Loading…
Add table
Add a link
Reference in a new issue