From 0ab0fd03aa4c6ba6b875169dd98d520d24e30126 Mon Sep 17 00:00:00 2001 From: yuni Date: Thu, 10 Oct 2024 05:52:09 +0200 Subject: [PATCH] fix avatar setting --- src/hud.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index a2d1daa..801c64d 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -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::()), + update_avatar.run_if(on_event::()), update_ar_overlays .run_if(game_running) .after(camera::position_to_transform)