You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Merge pull request #41055 from snichols/null-callee-fix
Fix crash with null callee
This commit is contained in:
@@ -383,6 +383,14 @@ public:
|
||||
CallNode() {
|
||||
type = CALL;
|
||||
}
|
||||
|
||||
Type get_callee_type() const {
|
||||
if (callee == nullptr) {
|
||||
return Type::NONE;
|
||||
} else {
|
||||
return callee->type;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct CastNode : public ExpressionNode {
|
||||
|
||||
Reference in New Issue
Block a user