Skip to content

Commit aa87af0

Browse files
committed
fix typo
1 parent e8bed49 commit aa87af0

File tree

1 file changed

+2
-2
lines changed
  • crates/bevy_mod_scripting_core/src

1 file changed

+2
-2
lines changed

crates/bevy_mod_scripting_core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl<P: IntoScriptPluginParams + AsMut<ScriptingPlugin<P>>> ConfigureScriptPlugi
236236
}
237237

238238
/// Ensures all types with `ReflectComponent` type data are pre-registered with component ID's
239-
fn pre_register_componnents(app: &mut App) {
239+
fn pre_register_components(app: &mut App) {
240240
let type_registry = app
241241
.world_mut()
242242
.get_resource_or_init::<AppTypeRegistry>()
@@ -294,7 +294,7 @@ impl Plugin for BMSScriptingInfrastructurePlugin {
294294
});
295295

296296
// pre-register component id's
297-
pre_register_componnents(app);
297+
pre_register_components(app);
298298
DynamicScriptComponentPlugin.finish(app);
299299
}
300300
}

0 commit comments

Comments
 (0)