We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3dc22a2 + 87c31b0 commit 336383eCopy full SHA for 336383e
addons/block_code/block_code_node/block_code.gd
@@ -84,6 +84,8 @@ func _get_configuration_warnings():
84
warnings.append("A BlockCode must not be a root node.")
85
if get_parent() is BlockCode:
86
warnings.append("The parent must not be a BlockCode.")
87
+ if get_parent().script:
88
+ warnings.append("This BlockCode will override the existing script in the parent node.")
89
if get_parent().find_children("*", "BlockCode", false).size() > 1:
90
warnings.append("The parent should only contain one BlockCode.")
91
if block_script and _get_custom_or_native_class(get_parent()) != block_script.script_inherits:
0 commit comments