Update destructible threshold property casing to follow the rest of the project (#2797)

* Update casing

* Update casing for min/max
This commit is contained in:
DrSmugleaf
2020-12-21 12:11:56 +01:00
committed by GitHub
parent 38dcc058c7
commit fd258a54d3
44 changed files with 244 additions and 236 deletions

View File

@@ -1,13 +1,21 @@
using Robust.Shared.ViewVariables;
using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Destructible
{
public struct MinMax
public struct MinMax : IExposeData
{
[ViewVariables]
public int Min;
[ViewVariables]
public int Max;
public void ExposeData(ObjectSerializer serializer)
{
serializer.DataField(ref Min, "min", 0);
serializer.DataField(ref Max, "max", 0);
}
}
}