GDScript: Allow void functions to return calls to other void functions

This commit is contained in:
George Marques 2023-01-27 17:54:07 -03:00
parent e1648b3327
commit a47d4d57ca
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
8 changed files with 78 additions and 10 deletions

View file

@ -970,6 +970,7 @@ public:
struct ReturnNode : public Node {
ExpressionNode *return_value = nullptr;
bool void_return = false;
ReturnNode() {
type = RETURN;