- fix: felinids layouts
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
xmlns="https://spacestation14.io"
|
||||
xmlns:humanoidProfileEditorExt="clr-namespace:Content.Client._Amour.HumanoidProfileEditorExt">
|
||||
<BoxContainer Orientation="Vertical">
|
||||
<BoxContainer>
|
||||
<Label Text="{Loc 'genitals-group'}"/>
|
||||
<CheckBox Text="{Loc 'genitals-exide'}" Name="Exide"/>
|
||||
<BoxContainer Margin="15 60 15 3">
|
||||
<Label Text="{Loc 'genitals-group'}" Margin="15 0 15 0"/>
|
||||
<CheckBox Text="{Loc 'genitals-exide'}" Name="Exide" Margin="15 0 15 0"/>
|
||||
</BoxContainer>
|
||||
<BoxContainer Name="Container" Orientation="Vertical"></BoxContainer>
|
||||
</BoxContainer>
|
||||
|
||||
@@ -19,13 +19,8 @@ public sealed partial class HumanoidProfileEditor
|
||||
|
||||
private void OnExide(BaseButton.ButtonEventArgs obj)
|
||||
{
|
||||
if (_entMan.TryGetComponent<HoleContainerComponent>(_previewDummy, out var component))
|
||||
{
|
||||
foreach (var entity in component.Slot.ContainedEntities)
|
||||
{
|
||||
_holeSystem.Exide(entity);
|
||||
}
|
||||
}
|
||||
if (_previewDummy != null)
|
||||
_holeSystem.ExideEntity(_previewDummy.Value,obj.Button.Pressed);
|
||||
}
|
||||
|
||||
private void UpdateGenitalsControls()
|
||||
|
||||
Reference in New Issue
Block a user