Skip to content

Commit ec7fe5b

Browse files
committed
typo
1 parent 3db90fd commit ec7fe5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/bevy_mod_scripting_core/src/bindings/script_system.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ impl ScriptSystemBuilder {
156156
// this is quite important, by default systems are placed in a set defined by their TYPE, i.e. in this case
157157
// all script systems would be the same
158158
// let set = ScriptSystemSet::next();
159-
let mut set_config = IntoSystemSetConfigs::into_configs(set);
160-
// apply ordering
159+
let mut system_config = IntoSystemConfigs::<IsDynamicScriptSystem<P>>::into_configs(self); // apply ordering
161160
for (other, is_before) in before_systems
162161
.into_iter()
163162
.map(|b| (b, true))

0 commit comments

Comments
 (0)