Fixed auto-updater

This commit is contained in:
DarthAffe committed 2017-01-26 20:56:18 +01:00
1 parent 56e7524aad
commit 69ac2e1be9
1 file changed
+1 -2
+1 -2
View File
@@ -75,8 +75,7 @@ namespace RGB.NET.Core
{
long preUpdateTicks = DateTime.Now.Ticks;
foreach (IRGBDevice device in _devices)
device.Update();
Update();
int sleep = (int)((UpdateFrequency * 1000.0) - ((DateTime.Now.Ticks - preUpdateTicks) / 10000.0));
if (sleep > 0)