Add "count" to stack comp's type handler. (#11917)

This commit is contained in:
Vera Aguilera Puerto
2022-10-17 14:17:59 +02:00
committed by GitHub
parent 321d39e225
commit f83f16df16
2 changed files with 5 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ namespace Content.Shared.Stacks
/// Current stack count.
/// Do NOT set this directly, use the <see cref="SharedStackSystem.SetCount"/> method instead.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("count")]
public int Count { get; set; } = 30;
@@ -24,7 +23,7 @@ namespace Content.Shared.Stacks
/// </summary>
[ViewVariables(VVAccess.ReadOnly)]
[DataField("max")]
public int MaxCount { get; set; } = 30;
public int MaxCount { get; set; } = 30;
/// <summary>
/// Set to true to not reduce the count when used.