From e2822536b1f315ccacde7103535900394a68840a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 26 Feb 2024 14:38:34 +0300 Subject: [PATCH] fix alias generation in NodeDB --- classes/deck/node_db.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,