(fdf8cfbbe) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
This commit is contained in:
@@ -795,7 +795,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
if (!ic.CanBeSelected) { continue; }
|
if (!ic.CanBeSelected) { continue; }
|
||||||
|
|
||||||
bool useAlternativeLayout = ic.Item != this;
|
bool useAlternativeLayout = activeHUDs.Count > 1;
|
||||||
bool wasUsingAlternativeLayout = ic.UseAlternativeLayout;
|
bool wasUsingAlternativeLayout = ic.UseAlternativeLayout;
|
||||||
ic.UseAlternativeLayout = useAlternativeLayout;
|
ic.UseAlternativeLayout = useAlternativeLayout;
|
||||||
needsLayoutUpdate |= ic.UseAlternativeLayout != wasUsingAlternativeLayout;
|
needsLayoutUpdate |= ic.UseAlternativeLayout != wasUsingAlternativeLayout;
|
||||||
|
|||||||
@@ -58,13 +58,6 @@ namespace Barotrauma.Items.Components
|
|||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
[Serialize(true, true)]
|
|
||||||
public bool Aimable
|
|
||||||
{
|
|
||||||
get;
|
|
||||||
set;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serialize(false, false)]
|
[Serialize(false, false)]
|
||||||
public bool ControlPose
|
public bool ControlPose
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user