Fix settings being applied a second time with wrong data (#308)
This commit is contained in:
1 parent
9dcfd2869e
commit
958c8b441b
3 files changed
+5
-11
No files matched your search
@@ -3,16 +3,12 @@ extends Control
|
||||
signal back_button_pressed
|
||||
|
||||
onready var settings_changed = false
|
||||
onready var backup_settings
|
||||
|
||||
|
||||
func _ready():
|
||||
initialize_options(escoria.settings)
|
||||
var backup_settings
|
||||
|
||||
|
||||
func show():
|
||||
backup_settings = escoria.settings.duplicate()
|
||||
initialize_options(backup_settings)
|
||||
initialize_options(escoria.settings)
|
||||
visible = true
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user