From 3c54768e6925779cd2a9b83746236d27d6795eb8 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 22 Sep 2021 10:21:31 -0500 Subject: [PATCH] Don't despawn focused entities. --- src/exploration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exploration.rs b/src/exploration.rs index dc0cb23..1e271f2 100644 --- a/src/exploration.rs +++ b/src/exploration.rs @@ -408,7 +408,7 @@ fn cleanup( commands.entity(entity).remove::(); } for entity in focus.iter() { - commands.entity(entity).despawn_recursive(); + commands.entity(entity).remove::(); } }