Update layout component

This commit is contained in:
Insality
2022-06-15 10:37:45 +05:00
parent e029d1eac3
commit 0107c015a1
4 changed files with 22 additions and 5 deletions

View File

@@ -173,7 +173,7 @@ function BaseComponent.get_node(self, node_or_name)
end
if not node then
assert(node, "No component with name: " .. template_name .. node_or_name)
assert(node, "No component with name: " .. (template_name or "") .. (node_or_name or ""))
end
return node