diff --git a/Content.Server/Cargo/CargoBankAccount.cs b/Content.Server/Cargo/CargoBankAccount.cs index 4dee23a2cf..253a214085 100644 --- a/Content.Server/Cargo/CargoBankAccount.cs +++ b/Content.Server/Cargo/CargoBankAccount.cs @@ -1,14 +1,17 @@ using System; +using Robust.Shared.ViewVariables; namespace Content.Server.Cargo { public class CargoBankAccount : ICargoBankAccount { + [ViewVariables] public int Id { get; } - + [ViewVariables] public string Name { get; } private int _balance; + [ViewVariables(VVAccess.ReadWrite)] public int Balance { get => _balance; diff --git a/Content.Server/Cargo/Components/CargoConsoleComponent.cs b/Content.Server/Cargo/Components/CargoConsoleComponent.cs index 60dd83f226..9d01c73980 100644 --- a/Content.Server/Cargo/Components/CargoConsoleComponent.cs +++ b/Content.Server/Cargo/Components/CargoConsoleComponent.cs @@ -23,9 +23,6 @@ namespace Content.Server.Cargo.Components { [Dependency] private readonly IMapManager _mapManager = default!; - [ViewVariables] - public int Points = 1000; - private CargoBankAccount? _bankAccount; [ViewVariables]