Skip to content

Commit

Permalink
fix: Generate IntoScript implementation with the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakker authored Feb 25, 2025
1 parent b28990e commit d914900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_mod_scripting_derive/src/derive/into_script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn into_script(input: TokenStream) -> TokenStream {
let (impl_generics, type_generics, where_clause) = generics.split_for_impl();

quote! {
impl #impl_generics ::bevy_mod_scripting::bindings::function::into::IntoScript for #ident #type_generics #where_clause {
impl #impl_generics ::bevy_mod_scripting::core::bindings::function::into::IntoScript for #ident #type_generics #where_clause {
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> {
::bevy_mod_scripting::core::bindings::function::into::IntoScript::into_script(
::bevy_mod_scripting::core::bindings::function::from::Val(self),
Expand Down

0 comments on commit d914900

Please sign in to comment.