fix alias generation in NodeDB

This commit is contained in:
Lera Elvoé 2024-02-26 14:38:34 +03:00
parent 49b8a23281
commit e2822536b1
No known key found for this signature in database

View file

@ -50,8 +50,8 @@ func create_descriptors(path: String) -> void:
var script_path := path.path_join(current_file) var script_path := path.path_join(current_file)
var node: DeckNode = load(script_path).new() as DeckNode var node: DeckNode = load(script_path).new() as DeckNode
var aliases: String = node.aliases.reduce( var aliases: String = node.aliases.reduce(
func(accum, el) -> void: func(accum, el):
accum += el return accum + el
, "") , "")
var descriptor := NodeDescriptor.new( var descriptor := NodeDescriptor.new(
script_path, script_path,