Skip to content

Commit e36bf26

Browse files
authored
Fix windows builds again (#32)
1 parent bdf41a3 commit e36bf26

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rust-script/src/runtime/rust_script_instance.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ impl ScriptInstance for RustScriptInstance {
101101
method: StringName,
102102
args: &[&Variant],
103103
) -> 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)
104+
self.data.call(method, args)
109105
}
110106

111107
fn get_script(&self) -> &Gd<Script> {

0 commit comments

Comments
 (0)