Minor fixes
This commit is contained in:
1 parent
141c62952c
commit
feec70d2ab
1 file changed
-4
@@ -4,10 +4,6 @@ var settings: LocalFile
|
|||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
settings = LocalFile.new("res://addons/screenshots/settings.cfg")
|
settings = LocalFile.new("res://addons/screenshots/settings.cfg")
|
||||||
settings.value_changed.connect(_on_settings_changed)
|
|
||||||
|
|
||||||
func _on_settings_changed(section: String, key: String, new_value):
|
|
||||||
print("Setting changed: [%s] %s = %s" % [section, key, new_value])
|
|
||||||
|
|
||||||
class LocalFile:
|
class LocalFile:
|
||||||
signal value_changed(section: String, key: String, new_value)
|
signal value_changed(section: String, key: String, new_value)
|
||||||
|
|||||||
Reference in new issue
Block a user