From 8d13b0deac35a2ec7bccdcf22dbb0ea774818b09 Mon Sep 17 00:00:00 2001 From: Ategon Date: Mon, 7 Oct 2024 19:26:50 -0400 Subject: [PATCH] Fix shop crash --- src/ui/action_button.gd | 1 + 1 file changed, 1 insertion(+) 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":