misc cargo fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -23,9 +23,6 @@ namespace Content.Server.Cargo.Components
|
||||
{
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
|
||||
[ViewVariables]
|
||||
public int Points = 1000;
|
||||
|
||||
private CargoBankAccount? _bankAccount;
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
Reference in New Issue
Block a user