You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Implemented, The Amazing Zylann Hack (tm), fixes #10603
This commit is contained in:
@@ -2470,6 +2470,8 @@ void GDParser::_parse_block(BlockNode *p_block, bool p_static) {
|
||||
|
||||
cf_if->body = alloc_node<BlockNode>();
|
||||
cf_if->body->parent_block = p_block;
|
||||
cf_if->body->if_condition = condition; //helps code completion
|
||||
|
||||
p_block->sub_blocks.push_back(cf_if->body);
|
||||
|
||||
if (!_enter_indent_block(cf_if->body)) {
|
||||
|
||||
Reference in New Issue
Block a user