Allow stack component count to be VV'd.

This commit is contained in:
Pieter-Jan Briers
2019-08-25 15:07:26 +02:00
parent 34e7edb5f5
commit ee029de5e7

View File

@@ -19,11 +19,11 @@ namespace Content.Server.GameObjects.Components.Stack
public override string Name => "Stack"; public override string Name => "Stack";
[ViewVariables] [ViewVariables(VVAccess.ReadWrite)]
public int Count public int Count
{ {
get => _count; get => _count;
private set set
{ {
_count = value; _count = value;
if (_count <= 0) if (_count <= 0)