despawn AR overlay entities on death
This commit is contained in:
parent
0d312edeee
commit
2b74b50563
|
@ -732,6 +732,7 @@ fn spawn_entities(
|
||||||
hud::AugmentedRealityOverlay {
|
hud::AugmentedRealityOverlay {
|
||||||
owner: actor_entity,
|
owner: actor_entity,
|
||||||
},
|
},
|
||||||
|
world::DespawnOnPlayerDeath,
|
||||||
SceneBundle {
|
SceneBundle {
|
||||||
scene: asset_server.load(world::asset_name_to_path(ar_asset_name)),
|
scene: asset_server.load(world::asset_name_to_path(ar_asset_name)),
|
||||||
visibility: Visibility::Hidden,
|
visibility: Visibility::Hidden,
|
||||||
|
|
Loading…
Reference in a new issue