(8f575fa16) Fixed chatbox & crew menu being hidden if any character uses a controller
This commit is contained in:
@@ -205,6 +205,7 @@ namespace Barotrauma.Items.Components
|
||||
cam.TargetPos = focusTarget.WorldPosition;
|
||||
|
||||
cam.OffsetAmount = MathHelper.Lerp(cam.OffsetAmount, (focusTarget as Item).Prefab.OffsetOnSelected, deltaTime * 10.0f);
|
||||
HideHUDs(true);
|
||||
}
|
||||
HideHUDs(true);
|
||||
#endif
|
||||
@@ -274,7 +275,10 @@ namespace Barotrauma.Items.Components
|
||||
if (character.SelectedConstruction == this.item) character.SelectedConstruction = null;
|
||||
|
||||
character.AnimController.Anim = AnimController.Animation.None;
|
||||
HideHUDs(false);
|
||||
if (character == Character.Controlled)
|
||||
{
|
||||
HideHUDs(false);
|
||||
}
|
||||
}
|
||||
|
||||
public override bool Select(Character activator)
|
||||
|
||||
Reference in New Issue
Block a user