diff --git a/src/ui/action_button.gd b/src/ui/action_button.gd index 256646c..d724449 100644 --- a/src/ui/action_button.gd +++ b/src/ui/action_button.gd @@ -20,6 +20,7 @@ func _ready() -> void: func _on_window_close_icon(_data): if key == "upgrade_menu": sprite_2d.texture = image + Persister.persist_data(key, false) func _on_mouse_handler_clicked() -> void: if value == "toggle":