From 97402ffb13a6ed5871b6be1c277ba93f70103d12 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Thu, 9 Jul 2020 11:04:07 +0200 Subject: [PATCH] Fix non-working checks --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index e4ea898..fa36ea5 100644 --- a/index.ts +++ b/index.ts @@ -46,6 +46,7 @@ setInterval(() =>{ pilot.notify("Do not sleep", "Your mouse was moved just now."); } } + last = pos; }, args.interval); console.log("Ready");