Don't despawn focused entities.

This commit is contained in:
Nolan Darilek 2021-09-22 10:21:31 -05:00
parent 52e314ce1c
commit 3c54768e69

View File

@ -408,7 +408,7 @@ fn cleanup(
commands.entity(entity).remove::<Exploring>();
}
for entity in focus.iter() {
commands.entity(entity).despawn_recursive();
commands.entity(entity).remove::<ExplorationFocused>();
}
}