Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.Maths;
|
||||
|
||||
namespace Content.Server.Salvage
|
||||
{
|
||||
@@ -14,21 +13,18 @@ namespace Content.Server.Salvage
|
||||
/// <summary>
|
||||
/// Relative directory path to the given map, i.e. `Maps/Salvage/test.yml`
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("mapPath", required: true)]
|
||||
public ResourcePath MapPath { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Map rectangle in world coordinates (to check if it fits)
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("bounds", required: true)]
|
||||
public Box2 Bounds { get; } = Box2.UnitCentered;
|
||||
|
||||
/// <summary>
|
||||
/// Name for admin use
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("name")]
|
||||
public string Name { get; } = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user