diff --git a/classes/deck/node_db.gd b/classes/deck/node_db.gd index 67e10cb..873a07b 100644 --- a/classes/deck/node_db.gd +++ b/classes/deck/node_db.gd @@ -50,8 +50,8 @@ func create_descriptors(path: String) -> void: var script_path := path.path_join(current_file) var node: DeckNode = load(script_path).new() as DeckNode var aliases: String = node.aliases.reduce( - func(accum, el) -> void: - accum += el + func(accum, el): + return accum + el , "") var descriptor := NodeDescriptor.new( script_path,