From d995df7279a56749cf9d5e3429b5e6a4904eaec7 Mon Sep 17 00:00:00 2001 From: Artur David Date: Tue, 2 Jun 2026 09:10:55 +0200 Subject: [PATCH] fixed spell library reference in debug menu --- scripts/debug_menu.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/debug_menu.gd b/scripts/debug_menu.gd index 427b3a1..09dc8e9 100644 --- a/scripts/debug_menu.gd +++ b/scripts/debug_menu.gd @@ -4,7 +4,6 @@ extends CanvasLayer @onready var _witch = get_node("/root/Game/Witch") @onready var _drop_manager = get_node("/root/Game/DropManager") -var _spell_library: SpellLibrary = SpellLibrary.new() var _spell_dispatch: Dictionary var _lvl_disable_btn: Button @@ -74,7 +73,7 @@ func _build_ui() -> void: hbox_time.add_child(btn) _add_section(vbox, "SPELLS") - for spell_id in _spell_library.recipes.keys(): + for spell_id in SpellLibrary.recipes.keys(): if _spell_dispatch.has(spell_id): _add_button(vbox, spell_id.capitalize(), _spell_dispatch[spell_id])