Typo, redundant string interpolation, namespaces and imports cleanup (#2068)
* Readonly, typos and redundant string interpolations * Namespaces * Optimize imports * Address reviews * but actually * Localize missing strings * Remove redundant vars
This commit is contained in:
@@ -87,17 +87,17 @@ namespace Content.Client.GameObjects.Components.Cargo
|
||||
{
|
||||
base.UpdateState(state);
|
||||
|
||||
if (!(state is CargoConsoleInterfaceState cstate))
|
||||
if (!(state is CargoConsoleInterfaceState cState))
|
||||
return;
|
||||
if (RequestOnly != cstate.RequestOnly)
|
||||
if (RequestOnly != cState.RequestOnly)
|
||||
{
|
||||
RequestOnly = cstate.RequestOnly;
|
||||
RequestOnly = cState.RequestOnly;
|
||||
_menu.UpdateRequestOnly();
|
||||
}
|
||||
BankId = cstate.BankId;
|
||||
BankName = cstate.BankName;
|
||||
BankBalance = cstate.BankBalance;
|
||||
ShuttleCapacity = cstate.ShuttleCapacity;
|
||||
BankId = cState.BankId;
|
||||
BankName = cState.BankName;
|
||||
BankBalance = cState.BankBalance;
|
||||
ShuttleCapacity = cState.ShuttleCapacity;
|
||||
_menu.UpdateCargoCapacity();
|
||||
_menu.UpdateBankData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user