From 49286aed4b988299e63a0ab7669c2893693df579 Mon Sep 17 00:00:00 2001 From: Matthew Olivo Date: Mon, 7 Oct 2024 19:28:36 -0700 Subject: [PATCH] - Changing Special Identifier for Persistent Timer command to be $timersecondsadjusted --- MixItUp.Base/Model/Overlay/OverlayPersistentTimerV3Model.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MixItUp.Base/Model/Overlay/OverlayPersistentTimerV3Model.cs b/MixItUp.Base/Model/Overlay/OverlayPersistentTimerV3Model.cs index 2b7906f12..16a424377 100644 --- a/MixItUp.Base/Model/Overlay/OverlayPersistentTimerV3Model.cs +++ b/MixItUp.Base/Model/Overlay/OverlayPersistentTimerV3Model.cs @@ -17,7 +17,7 @@ public class OverlayPersistentTimerV3Model : OverlayEventCountingV3ModelBase public const string SecondsProperty = "Seconds"; public const string TimerSpecialIdentifierPrefix = "timer"; - public const string TimerSecondsAddedSpecialIdentifierPrefix = TimerSpecialIdentifierPrefix + "secondsadded"; + public const string TimerSecondsAdjustedSpecialIdentifierPrefix = TimerSpecialIdentifierPrefix + "secondsadjusted"; public static readonly string DefaultHTML = OverlayResources.OverlayTimerDefaultHTML; public static readonly string DefaultCSS = OverlayResources.OverlayTextDefaultCSS; @@ -128,7 +128,7 @@ public override async Task ProcessEvent(UserV2ViewModel user, double amount) await this.CallFunction("adjustTime", properties); Dictionary specialIdentifiers = new Dictionary(); - specialIdentifiers[TimerSecondsAddedSpecialIdentifierPrefix] = amount.ToString(); + specialIdentifiers[TimerSecondsAdjustedSpecialIdentifierPrefix] = amount.ToString(); await ServiceManager.Get().Queue(this.TimerAdjustedCommandID, new CommandParametersModel(user, specialIdentifiers)); }