Fix get_active_node_count for node types not present.

This commit is contained in:
Jan Grashoefer 2023-05-16 17:47:50 +02:00
parent fe8c2c69b5
commit e4f654c14c

View file

@ -285,7 +285,7 @@ export {
}
# Track active nodes per type.
global active_node_ids: table[NodeType] of set[string];
global active_node_ids: table[NodeType] of set[string] &default=set();
function nodes_with_type(node_type: NodeType): vector of NamedNode
{