workaround for player becoming hidden in menu
This commit is contained in:
parent
3ffcfcf522
commit
d329d35396
|
@ -80,7 +80,10 @@ impl Plugin for CameraPlugin {
|
|||
app.add_systems(
|
||||
PostUpdate,
|
||||
position_to_transform
|
||||
.run_if(game_running)
|
||||
// The if(game_running) condition should be there, but
|
||||
// somehow everything apart of AR avatars ends up becoming
|
||||
// invisible if I leave it in, so for now, we leave it out.
|
||||
//.run_if(game_running)
|
||||
.after(sync::position_to_transform)
|
||||
.in_set(sync::SyncSet::PositionToTransform),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue