From f07bd6b0051808a621b533646c60660cba8c64f7 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Fri, 1 Oct 2021 21:32:02 +0200 Subject: [PATCH] You can now recreate modern marketing with VV Makes AdvertiseComponent wait fields editable through VV --- Content.Server/Advertise/AdvertiseComponent.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Server/Advertise/AdvertiseComponent.cs b/Content.Server/Advertise/AdvertiseComponent.cs index c190cd1f69..d88f5c8245 100644 --- a/Content.Server/Advertise/AdvertiseComponent.cs +++ b/Content.Server/Advertise/AdvertiseComponent.cs @@ -16,7 +16,7 @@ namespace Content.Server.Advertise /// /// Minimum time in seconds to wait before saying a new ad, in seconds. Has to be larger than or equal to 1. /// - [ViewVariables] + [ViewVariables(VVAccess.ReadWrite)] [DataField("minWait")] public int MinimumWait { get; } = 8 * 60; @@ -24,7 +24,7 @@ namespace Content.Server.Advertise /// Maximum time in seconds to wait before saying a new ad, in seconds. Has to be larger than or equal /// to /// - [ViewVariables] + [ViewVariables(VVAccess.ReadWrite)] [DataField("maxWait")] public int MaximumWait { get; } = 10 * 60; @@ -37,7 +37,7 @@ namespace Content.Server.Advertise /// /// The next time an advertisement will be said. /// - [ViewVariables] + [ViewVariables(VVAccess.ReadWrite)] public TimeSpan NextAdvertisementTime { get; set; } = TimeSpan.Zero; ///