[feat] new med and jobs huds (#17)

This commit is contained in:
DocNight
2023-05-05 11:00:15 +03:00
committed by Aviu00
parent cb5f49f2b3
commit 13c0d15601
24 changed files with 391 additions and 56 deletions

View File

@@ -29,14 +29,14 @@ namespace Content.Client.Commands
return;
}
if (!_entityManager.TryGetComponent<ShowHealthBarsComponent>(playerEntity, out var glassComp))
if (!_entityManager.TryGetComponent<ShowWhiteHealthBarsComponent>(playerEntity, out var glassComp))
{
_entityManager.AddComponent<ShowHealthBarsComponent>((EntityUid) playerEntity);
_entityManager.AddComponent<ShowWhiteHealthBarsComponent>((EntityUid) playerEntity);
shell.WriteLine("Enabled health overlay.");
return;
}
_entityManager.RemoveComponent<ShowHealthBarsComponent>((EntityUid) playerEntity);
_entityManager.RemoveComponent<ShowWhiteHealthBarsComponent>((EntityUid) playerEntity);
shell.WriteLine("Disabled health overlay.");
return;
}