misc cargo fixes

This commit is contained in:
Paul
2021-11-30 17:06:40 +01:00
parent b4b21d5578
commit d3b2f580fe
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -23,9 +23,6 @@ namespace Content.Server.Cargo.Components
{
[Dependency] private readonly IMapManager _mapManager = default!;
[ViewVariables]
public int Points = 1000;
private CargoBankAccount? _bankAccount;
[ViewVariables]