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

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
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;