mirror of
https://github.com/godotengine/godot
synced 2024-09-15 22:38:28 +00:00
C#: Fix converting default Callables to native
This commit is contained in:
parent
a574c0296b
commit
d525a45e5c
|
@ -259,7 +259,7 @@ namespace Godot.NativeInterop
|
|||
}
|
||||
|
||||
return new godot_callable(method /* Takes ownership of disposable */,
|
||||
p_managed_callable.Target.GetInstanceId());
|
||||
p_managed_callable.Target?.GetInstanceId() ?? 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue