Add missing MagnetState attribute (#14715)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
using Content.Shared.Radio;
|
using Content.Shared.Radio;
|
||||||
|
using Content.Shared.Salvage;
|
||||||
using Robust.Shared.GameStates;
|
using Robust.Shared.GameStates;
|
||||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||||
using Content.Shared.Salvage;
|
|
||||||
|
|
||||||
namespace Content.Server.Salvage
|
namespace Content.Server.Salvage
|
||||||
{
|
{
|
||||||
@@ -94,7 +94,8 @@ namespace Content.Server.Salvage
|
|||||||
public int PreviousCharge = 5;
|
public int PreviousCharge = 5;
|
||||||
|
|
||||||
}
|
}
|
||||||
[CopyByRef]
|
|
||||||
|
[CopyByRef, DataRecord]
|
||||||
public record struct MagnetState(MagnetStateType StateType, TimeSpan Until)
|
public record struct MagnetState(MagnetStateType StateType, TimeSpan Until)
|
||||||
{
|
{
|
||||||
public static readonly MagnetState Inactive = new (MagnetStateType.Inactive, TimeSpan.Zero);
|
public static readonly MagnetState Inactive = new (MagnetStateType.Inactive, TimeSpan.Zero);
|
||||||
|
|||||||
Reference in New Issue
Block a user