Skip to content

Commit 63509da

Browse files
authored
Merge pull request #3 from Joakker/into-script-fix
fix: Generate IntoScript implementation with the correct path
2 parents b28990e + d914900 commit 63509da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_mod_scripting_derive/src/derive/into_script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn into_script(input: TokenStream) -> TokenStream {
1313
let (impl_generics, type_generics, where_clause) = generics.split_for_impl();
1414

1515
quote! {
16-
impl #impl_generics ::bevy_mod_scripting::bindings::function::into::IntoScript for #ident #type_generics #where_clause {
16+
impl #impl_generics ::bevy_mod_scripting::core::bindings::function::into::IntoScript for #ident #type_generics #where_clause {
1717
fn into_script(self, world: ::bevy_mod_scripting::core::bindings::WorldGuard) -> Result<::bevy_mod_scripting::core::bindings::script_value::ScriptValue, ::bevy_mod_scripting::core::error::InteropError> {
1818
::bevy_mod_scripting::core::bindings::function::into::IntoScript::into_script(
1919
::bevy_mod_scripting::core::bindings::function::from::Val(self),

0 commit comments

Comments
 (0)