From e97763afd2c74713d7c3c6e55fc40e767cc218ab Mon Sep 17 00:00:00 2001 From: Peter Wedder Date: Sun, 22 Nov 2020 17:00:06 +0200 Subject: [PATCH] Expose UseDelay to ViewVars (#2609) --- .../GameObjects/Components/Timing/UseDelayComponent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Server/GameObjects/Components/Timing/UseDelayComponent.cs b/Content.Server/GameObjects/Components/Timing/UseDelayComponent.cs index 2b20077cb1..8c2ba42bbc 100644 --- a/Content.Server/GameObjects/Components/Timing/UseDelayComponent.cs +++ b/Content.Server/GameObjects/Components/Timing/UseDelayComponent.cs @@ -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 /// /// The time, in seconds, between an object's use and when it can be used again /// + [ViewVariables(VVAccess.ReadWrite)] public float Delay { get => _delay; set => _delay = value; } public bool ActiveDelay{ get; private set; }