make RefreshOverlay default to the player session (#32354)

This commit is contained in:
Milon
2025-01-30 06:09:25 +01:00
committed by GitHub
parent f4c648f316
commit 3a51f11cb2
5 changed files with 31 additions and 34 deletions

View File

@@ -47,7 +47,7 @@ public sealed class ShowHealthIconsSystem : EquipmentHudSystem<ShowHealthIconsCo
private void OnHandleState(Entity<ShowHealthIconsComponent> ent, ref AfterAutoHandleStateEvent args)
{
RefreshOverlay(ent);
RefreshOverlay();
}
private void OnGetStatusIconsEvent(Entity<DamageableComponent> entity, ref GetStatusIconsEvent args)