GDScript: Check get_node() shorthand in static functions
(cherry picked from commit 0f27c4ad80)
This commit is contained in:
committed by
Yuri Sizov
parent
efa82d5025
commit
d5a11e17b8
@ -3033,10 +3033,8 @@ GDScriptParser::ExpressionNode *GDScriptParser::parse_get_node(ExpressionNode *p
|
||||
if (previous.type == GDScriptTokenizer::Token::DOLLAR) {
|
||||
// Detect initial slash, which will be handled in the loop if it matches.
|
||||
match(GDScriptTokenizer::Token::SLASH);
|
||||
#ifdef DEBUG_ENABLED
|
||||
} else {
|
||||
get_node->use_dollar = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
int context_argument = 0;
|
||||
|
||||
Reference in New Issue
Block a user