You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Check get_node() shorthand in static functions
This commit is contained in:
@@ -3035,10 +3035,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