Code cleanup

This commit is contained in:
Danny McGee
2023-11-14 20:40:07 -05:00
parent 03303720f6
commit a28297914e
2 changed files with 24 additions and 23 deletions
+7 -2
View File
@@ -44,8 +44,13 @@ impl Plugin for ScenePlugin {
.add_systems(PostUpdate, move_plane_with_camera.after(CameraMotionSystem));
#[cfg(feature = "wasm")]
app.add_systems(PostUpdate, wasm::notify_entity_spawn_changes.pipe(error))
.add_systems(Update, wasm::save_scene_system);
app.add_systems(
PostUpdate,
(
wasm::notify_entity_spawn_changes.pipe(error),
wasm::save_scene_system.pipe(error),
),
);
}
}