mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
GDScript: Allow void functions to return calls to other void functions
This commit is contained in:
parent
e1648b3327
commit
a47d4d57ca
8 changed files with 78 additions and 10 deletions
|
|
@ -970,6 +970,7 @@ public:
|
|||
|
||||
struct ReturnNode : public Node {
|
||||
ExpressionNode *return_value = nullptr;
|
||||
bool void_return = false;
|
||||
|
||||
ReturnNode() {
|
||||
type = RETURN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue