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])