Expose UseDelay to ViewVars (#2609)
This commit is contained in:
@@ -6,6 +6,7 @@ using Robust.Shared.GameObjects.Components.Timers;
|
||||
using Robust.Shared.Interfaces.Timing;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using Timer = Robust.Shared.Timers.Timer;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Timing
|
||||
@@ -24,6 +25,7 @@ namespace Content.Server.GameObjects.Components.Timing
|
||||
/// <summary>
|
||||
/// The time, in seconds, between an object's use and when it can be used again
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float Delay { get => _delay; set => _delay = value; }
|
||||
|
||||
public bool ActiveDelay{ get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user