Allow stack component count to be VV'd.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user