1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Don't pass self when calling a static function from a non-static context

This commit is contained in:
Jamie Hill-Daniel
2024-04-04 21:15:17 +00:00
parent 79de2eaae7
commit 164b34a734
3 changed files with 6 additions and 4 deletions

View File

@@ -498,6 +498,7 @@ public:
Vector<ExpressionNode *> arguments;
StringName function_name;
bool is_super = false;
bool is_static = false;
CallNode() {
type = CALL;