mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #83357 from raulsntos/dotnet/ConvertCallableToNative(default)
C#: Fix converting default Callables to native
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user