Skip to content

Commit 2928c94

Browse files
committed
removed old commented-out code
1 parent f317d06 commit 2928c94

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/render/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -306,21 +306,6 @@ pub struct RemovedTileEntity(pub Entity);
306306
#[derive(Component)]
307307
pub struct RemovedMapEntity(pub Entity);
308308

309-
// fn removal_helper(mut commands: Commands, mut removed_query: RemovedComponents<TilePos>) {
310-
// for entity in removed_query.read() {
311-
// commands.spawn(RemovedTileEntity(entity));
312-
// }
313-
// }
314-
//
315-
// fn removal_helper_tilemap(
316-
// mut commands: Commands,
317-
// mut removed_query: RemovedComponents<TileStorage>,
318-
// ) {
319-
// for entity in removed_query.read() {
320-
// commands.spawn(RemovedMapEntity(entity));
321-
// }
322-
// }
323-
324309
fn removal_helper(mut commands: Commands, mut set: ParamSet<(&World, RemovedComponents<TilePos>, RemovedComponents<TileStorage>)>) {
325310
let tiles: Vec<Entity> = set.p1().read().collect();
326311
let maps: Vec<Entity> = set.p2().read().collect();

0 commit comments

Comments
 (0)