From 23a9fa3ed7a82200d63d4341a9e0f783daaf81de Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 11 Mar 2019 20:51:29 +0000 Subject: [PATCH] Change it back, because it's not working right. --- RhinoReminds/ClientListener.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RhinoReminds/ClientListener.cs b/RhinoReminds/ClientListener.cs index 5daabc9..24f0caf 100644 --- a/RhinoReminds/ClientListener.cs +++ b/RhinoReminds/ClientListener.cs @@ -347,7 +347,7 @@ namespace RhinoReminds if (DateTime.Now < nextReminder.Time) { Console.WriteLine($"[Rhino/Reminderd] Sleeping for {nextWaitingTime}"); - await Task.Delay((int)Math.Ceiling(Math.Abs(nextWaitingTime.TotalMilliseconds)), reminderWatcherResetToken); + await Task.Delay(nextWaitingTime, reminderWatcherResetToken); } } else {