fix avatar setting

This commit is contained in:
yuni 2024-10-10 05:52:09 +02:00
parent 7572df7d33
commit 0ab0fd03aa

View file

@ -70,9 +70,7 @@ impl Plugin for HudPlugin {
PostUpdate,
(
update_overlay_visibility.run_if(game_running),
update_avatar
.run_if(game_running)
.run_if(on_event::<UpdateAvatarEvent>()),
update_avatar.run_if(on_event::<UpdateAvatarEvent>()),
update_ar_overlays
.run_if(game_running)
.after(camera::position_to_transform)