Merge pull request #35708 from MightyPrinny/patch-1
Mono: Fixed GetNodeOrNull<T>
This commit is contained in:
commit
3c3ed67c39
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ namespace Godot
|
|||
|
||||
public T GetNodeOrNull<T>(NodePath path) where T : class
|
||||
{
|
||||
return GetNode(path) as T;
|
||||
return GetNodeOrNull(path) as T;
|
||||
}
|
||||
|
||||
public T GetChild<T>(int idx) where T : class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue