We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf41a3 commit e36bf26Copy full SHA for e36bf26
rust-script/src/runtime/rust_script_instance.rs
@@ -101,11 +101,7 @@ impl ScriptInstance for RustScriptInstance {
101
method: StringName,
102
args: &[&Variant],
103
) -> Result<Variant, godot::sys::GDExtensionCallErrorType> {
104
- self.data
105
- .call(method, args)
106
- .map(Into::into)
107
- // GDExtensionCallErrorType is not guaranteed to be a u32
108
- .map_err(|err: u32| err as godot::sys::GDExtensionCallErrorType)
+ self.data.call(method, args)
109
}
110
111
fn get_script(&self) -> &Gd<Script> {
0 commit comments