You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Fix access non-static members in static context
This commit is contained in:
@@ -902,8 +902,11 @@ public:
|
||||
VariableNode *variable_source;
|
||||
ConstantNode *constant_source;
|
||||
SignalNode *signal_source;
|
||||
FunctionNode *function_source;
|
||||
};
|
||||
FunctionNode *source_function = nullptr;
|
||||
bool function_source_is_static = false; // For non-GDScript scripts.
|
||||
|
||||
FunctionNode *source_function = nullptr; // TODO: Rename to disambiguate `function_source`.
|
||||
|
||||
int usages = 0; // Useful for binds/iterator variable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user