We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70b5c9 commit c355a34Copy full SHA for c355a34
crates/bevy_mod_scripting_core/src/commands.rs
@@ -200,7 +200,7 @@ impl<P: IntoScriptPluginParams> Command for CreateOrUpdateScript<P> {
200
&OnScriptReloaded::into_callback_label(),
201
&self.id,
202
Entity::from_raw(0),
203
- vec![ScriptValue::Bool(true)],
+ vec![ScriptValue::Bool(true), ScriptValue::Unit],
204
guard.clone(),
205
) {
206
Ok(state) => {
@@ -226,7 +226,7 @@ impl<P: IntoScriptPluginParams> Command for CreateOrUpdateScript<P> {
226
227
228
229
230
231
232
0 commit comments