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

@@ -28,7 +28,7 @@ public sealed class ShowHealthBarsSystem : EquipmentHudSystem<ShowHealthBarsComp
private void OnHandleState(Entity<ShowHealthBarsComponent> ent, ref AfterAutoHandleStateEvent args)
{
RefreshOverlay(ent);
RefreshOverlay();
}
protected override void UpdateInternal(RefreshEquipmentHudEvent<ShowHealthBarsComponent> component)