(ee4193544) Modified: Reduced the health interface opening range mildly to prevent ragdoll flailing at or close to old max range

This commit is contained in:
Joonas Rikkonen
2019-06-15 19:45:11 +03:00
parent 6c72136fa9
commit b64d3d17ac
7 changed files with 9 additions and 29 deletions
@@ -2355,7 +2355,7 @@ namespace Barotrauma
{
SelectCharacter(focusedCharacter);
}
else if (focusedCharacter != null && IsKeyHit(InputType.Health) && focusedCharacter.CharacterHealth.UseHealthWindow)
else if (focusedCharacter != null && IsKeyHit(InputType.Health) && focusedCharacter.CharacterHealth.UseHealthWindow && CanInteractWith(focusedCharacter, 160f, false))
{
if (focusedCharacter == SelectedCharacter)
{