Don't despawn focused entities.
This commit is contained in:
parent
52e314ce1c
commit
3c54768e69
|
@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user