mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-25 05:17:25 -04:00
add license, move folders
This commit is contained in:
parent
185cc74060
commit
271c4a46a1
132 changed files with 21 additions and 0 deletions
16
app/scripts/data_saver.gd
Normal file
16
app/scripts/data_saver.gd
Normal file
|
@ -0,0 +1,16 @@
|
|||
extends ConfigBase
|
||||
#class_name DataSaver
|
||||
|
||||
var path: String = "user://resources/data_saver.cfg"
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
super._init(path)
|
||||
|
||||
|
||||
func save_data() -> void:
|
||||
config.save(config_path)
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
save_data()
|
Loading…
Add table
Add a link
Reference in a new issue