Fix misc commands (#20004)

This commit is contained in:
Leon Friedrich
2023-09-11 17:21:52 +12:00
committed by GitHub
parent 0689e864e7
commit a225fe99b6
6 changed files with 14 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ namespace Content.Client.Administration.UI.SetOutfit
public override void HandleState(EuiStateBase state)
{
var outfitState = (SetOutfitEuiState) state;
_window.TargetEntityId = _entManager.GetEntity(outfitState.TargetNetEntity);
_window.TargetEntityId = outfitState.TargetNetEntity;
}
}

View File

@@ -18,7 +18,7 @@ namespace Content.Client.Administration.UI.SetOutfit
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
public EntityUid? TargetEntityId { get; set; }
public NetEntity? TargetEntityId { get; set; }
private StartingGearPrototype? _selectedOutfit;
public SetOutfitMenu()