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